1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-01-19 03:52:52 +00:00

ISON command: reply with correct upper-/lowercase nick names

Reported by Cahata -- thanks!
This commit is contained in:
Alexander Barton 2012-01-02 15:06:44 +01:00
parent 408a74b865
commit af13732ec7

View File

@ -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, " ");