about summary refs log tree commit diff
diff options
context:
space:
mode:
-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, " ");