summary refs log tree commit diff
path: root/command.c
diff options
context:
space:
mode:
authorC. McEnroe2020-09-30 19:21:34 -0400
committerC. McEnroe2020-09-30 19:21:34 -0400
commitf3a56b0d014c96b3bbc41308d34f46a1f7b70764 (patch)
treed9da0df66a1fdc63f05fbcf7a8013aa5f6e2d04b /command.c
parent3e67bf6557861a58d75f62c562a3a2b43f226435 (diff)
Use WHO for /ops
Accumulate names in a buffer and show away status.
Diffstat (limited to 'command.c')
-rw-r--r--command.c4
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) {