Eggdev: [Bug 368] eggdrop, WHO requests and got352/got354

Matthew S. Hallacy poptix at techmonkeys.org
Mon Nov 1 07:57:38 CST 2004


On Fri, Oct 22, 2004 at 04:22:34PM -0500, bugzilla-daemon at tsss.org wrote:
> http://www.eggheads.org/bugzilla/show_bug.cgi?id=368
> 
> barkerjr at clancdg.com changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |barkerjr at barkerjr.net
>            Severity|normal                      |major
>            Platform|PC                          |All
> 
> 
> 
> ------- Additional Comments From barkerjr at clancdg.com  2004-10-22 16:22 -------
> This actually brings up a deeper problem.  If WHO doesn't reliably return the
> proper channel, we shouldn't be using it to retrieve channel modes.
> 
> In src/mod/irc.mod/mode.c around lines 316 and 700, we send WHO on deop/dehop to
> check if the user is +v/+h or not.  Therefor, this is also quite broken.
> 
> Possibly we should be using WHOIS instead of WHO for individual nicknames.


WHOIS should definitely be used, WHO has somewhat unpredictable results.

If you do not share a channel with a user, the last channel they joined
will show (that isn't +s)

If you share a single channel with a user, that channel will be shown
if you share multiple channels with a user, I *believe* the last channel
they joined that you share with them will be shown.


-- 
Matthew S. Hallacy                            FUBAR, LART, BOFH Certified
http://www.poptix.net                           GPG public key 0x01938203



More information about the Eggdev mailing list