Fix a typo which confused older Perls, and fix a big error in the handling of uppercase channel names. b=MasterTLH (thanks dude), p=Hixie, r=justdave,bbaetz

This commit is contained in:
ian%hixie.ch 2002-07-10 13:56:22 +00:00
Родитель b19a31e777
Коммит 23e35d582f
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -582,9 +582,10 @@ sub on_disconnected {
}
# on_join_channel: called when we join a channel
sub on_join_channel: {
sub on_join_channel {
my ($self, $event) = @_;
my ($nick, $channel) = $event->args;
$channel = lc($channel);
push(@channels, $channel);
&Configuration::Save($cfgfile, &configStructure(\@channels));
&debug("joined $channel, about to autojoin modules...");