]> arthur.barton.de Git - ngircd-alex.git/commitdiff
ISON command: reply with correct upper-/lowercase nick names
authorAlexander Barton <alex@barton.de>
Mon, 2 Jan 2012 14:06:44 +0000 (15:06 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 2 Jan 2012 14:06:44 +0000 (15:06 +0100)
Reported by Cahata -- thanks!

src/ngircd/irc-info.c

index 48000bacde0e7d7a7bd9dbb9d7500c7e15aa1329..092ca0a3957dd2896ce6d01fafa4efb91fcbab07 100644 (file)
@@ -188,7 +188,7 @@ IRC_ISON( CLIENT *Client, REQUEST *Req )
                        ngt_TrimStr(ptr);
                        c = Client_Search(ptr);
                        if (c && Client_Type(c) == CLIENT_USER) {
-                               strlcat(rpl, ptr, sizeof(rpl));
+                               strlcat(rpl, Client_ID(c), sizeof(rpl));
                                strlcat(rpl, " ", sizeof(rpl));
                        }
                        ptr = strtok(NULL, " ");