mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
Comment about possible bug in Kicked method
This commit is contained in:
parent
00b3e267cb
commit
617f195c21
@ -2889,6 +2889,8 @@ sub Kicked {
|
||||
my %channels = map { $_ => 1 } @channels;
|
||||
if ($channels{$channel}) {
|
||||
$self->debug("kicked from $channel by ".$event->{'from'});
|
||||
# XXX this next line can cause a "nosuchchannel: mozbot I No such channel" message
|
||||
# would be nice to fix that somehow
|
||||
$event->{'bot'}->part($channel, 'I was told to leave by '.$event->{'from'}.'. :-(');
|
||||
delete($channels{$channel});
|
||||
@channels = keys %channels;
|
||||
|
Loading…
x
Reference in New Issue
Block a user