From f3a56b0d014c96b3bbc41308d34f46a1f7b70764 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 30 Sep 2020 19:21:34 -0400 Subject: Use WHO for /ops Accumulate names in a buffer and show away status. --- command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'command.c') 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) { -- cgit 1.4.1