diff options
author | June McEnroe <june@causal.agency> | 2020-02-05 00:40:24 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-05 00:40:24 -0500 |
commit | 7414a8a11cd8d16fea47e30513b3a5eaeb232ba1 (patch) | |
tree | aaacf18fb8879577480c76693894edf55e7cb0d7 /command.c | |
parent | Align MOTD after - (diff) | |
download | catgirl-7414a8a11cd8d16fea47e30513b3a5eaeb232ba1.tar.gz catgirl-7414a8a11cd8d16fea47e30513b3a5eaeb232ba1.zip |
Save own username for message echoing
Diffstat (limited to '')
-rw-r--r-- | command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c index ab05587..76d7d7b 100644 --- a/command.c +++ b/command.c @@ -23,7 +23,7 @@ void command(size_t id, char *input) { ircFormat("PRIVMSG %s :%s\r\n", idNames[id], input); struct Message msg = { .nick = self.nick, - // TODO: .user, + .user = self.user, .cmd = "PRIVMSG", .params[0] = idNames[id], .params[1] = input, |