realJoshByrnes / IRC2017

Public bug tracker for IRC2017 (irc.irc7.com)
0 stars 0 forks source link

WHOIS reply needs fixing #11

Closed jyonxo closed 7 years ago

jyonxo commented 7 years ago

Should be whoever is visible. Yourself. Anyone not -i, anyone on channels you’re on

realJoshByrnes commented 7 years ago

Anyone that's not +i (invisible)*

realJoshByrnes commented 7 years ago

There can be multiple replies, for the same request.

/whois JD may return replies for JD in %#Test1 and JD in %#Test2. Also, nicknames may be seperated by commas.

jyonxo commented 7 years ago

[17:02] <>Skyx> lol fuck [17:02] <>Skyx> I just realized why WHOIS isnt working [17:02] <>xsnuex> bought time [17:02] <>Skyx> If your ActiveChannel doesnt have the user in there (last channel joined) then it will fall back on a server search [17:03] <>Skyx> however [17:03] <>Skyx> if the user is +i [17:03] <>Skyx> (invisible) [17:03] <>Skyx> then it wont allow u to whisper it [17:03] <>Skyx> ;x [17:03] <>Skyx> another problem introduced with multichan

jyonxo commented 7 years ago

Fixed by looping through each active channel and checking there first before server wide search