diff options
author | June McEnroe <june@causal.agency> | 2020-09-30 19:21:34 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-09-30 19:21:34 -0400 |
commit | f3a56b0d014c96b3bbc41308d34f46a1f7b70764 (patch) | |
tree | d9da0df66a1fdc63f05fbcf7a8013aa5f6e2d04b /command.c | |
parent | Add /ops command (diff) | |
download | catgirl-f3a56b0d014c96b3bbc41308d34f46a1f7b70764.tar.gz catgirl-f3a56b0d014c96b3bbc41308d34f46a1f7b70764.zip |
Use WHO for /ops
Accumulate names in a buffer and show away status.
Diffstat (limited to '')
-rw-r--r-- | command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/command.c b/command.c index efc095c..92f1271 100644 --- a/command.c +++ b/command.c @@ -176,8 +176,8 @@ static void commandNames(uint id, char *params) { static void commandOps(uint id, char *params) { (void)params; - ircFormat("NAMES %s\r\n", idNames[id]); - replies.ops++; + ircFormat("WHO %s\r\n", idNames[id]); + replies.who++; } static void commandInvite(uint id, char *params) { |