mirror of
https://github.com/osmarks/ngircd.git
synced 2025-04-28 21:53:11 +00:00
ISON command: reply with correct upper-/lowercase nick names
Reported by Cahata -- thanks!
This commit is contained in:
parent
408a74b865
commit
af13732ec7
@ -188,7 +188,7 @@ IRC_ISON( CLIENT *Client, REQUEST *Req )
|
|||||||
ngt_TrimStr(ptr);
|
ngt_TrimStr(ptr);
|
||||||
c = Client_Search(ptr);
|
c = Client_Search(ptr);
|
||||||
if (c && Client_Type(c) == CLIENT_USER) {
|
if (c && Client_Type(c) == CLIENT_USER) {
|
||||||
strlcat(rpl, ptr, sizeof(rpl));
|
strlcat(rpl, Client_ID(c), sizeof(rpl));
|
||||||
strlcat(rpl, " ", sizeof(rpl));
|
strlcat(rpl, " ", sizeof(rpl));
|
||||||
}
|
}
|
||||||
ptr = strtok(NULL, " ");
|
ptr = strtok(NULL, " ");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user