Module: ngircd.git Branch: master Commit: af13732ec7bb09c9e1bc942a355990ab2767eca7 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=af137...
Author: Alexander Barton alex@barton.de Date: Mon Jan 2 15:06:44 2012 +0100
ISON command: reply with correct upper-/lowercase nick names
Reported by Cahata -- thanks!
---
src/ngircd/irc-info.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/ngircd/irc-info.c b/src/ngircd/irc-info.c index 48000ba..092ca0a 100644 --- a/src/ngircd/irc-info.c +++ b/src/ngircd/irc-info.c @@ -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, " ");
ngircd-commits@lists.barton.de