From: Alexander Barton Date: Mon, 2 Jan 2012 14:06:44 +0000 (+0100) Subject: ISON command: reply with correct upper-/lowercase nick names X-Git-Tag: rel-19-rc1~74 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=af13732ec7bb09c9e1bc942a355990ab2767eca7 ISON command: reply with correct upper-/lowercase nick names Reported by Cahata -- thanks! --- diff --git a/src/ngircd/irc-info.c b/src/ngircd/irc-info.c index 48000bac..092ca0a3 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, " ");