Various other state bugs.
This commit is contained in:
1 parent
a8ea3f0e64
commit
6357c54574
2 files changed
+11
-13
No files matched your search
@@ -10,6 +10,7 @@ our (%chanusers, %botinfo);
|
||||
# Create on_namesreply hook.
|
||||
hook_add('on_namesreply', 'state.irc.names', sub {
|
||||
my ($svr, $chan, @data) = @_;
|
||||
$chan = lc $chan;
|
||||
|
||||
# Delete the old chanusers hash if it exists.
|
||||
if (defined $chanusers{$svr}{$chan}) { delete $chanusers{$svr}{$chan} }
|
||||
|
||||
Reference in new issue
Block a user