about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2012-01-02 15:06:44 +0100
committerAlexander Barton <alex@barton.de>2012-01-02 15:06:44 +0100
commitaf13732ec7bb09c9e1bc942a355990ab2767eca7 (patch)
tree455ce24ea24ddd411c51f8323e18b223e5175fd6 /src
parent408a74b86582a2fc315d61880f30d4ac050d8d8a (diff)
downloadngircd-af13732ec7bb09c9e1bc942a355990ab2767eca7.tar.gz
ngircd-af13732ec7bb09c9e1bc942a355990ab2767eca7.zip
ISON command: reply with correct upper-/lowercase nick names
Reported by Cahata -- thanks!
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/irc-info.c2
1 files changed, 1 insertions, 1 deletions
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, " ");