From af13732ec7bb09c9e1bc942a355990ab2767eca7 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Mon, 2 Jan 2012 15:06:44 +0100 Subject: [PATCH 1/1] ISON command: reply with correct upper-/lowercase nick names Reported by Cahata -- thanks! --- src/ngircd/irc-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, " "); -- 2.39.2