Various other state bugs.

This commit is contained in:
Elijah Perrault committed 2011-04-21 15:48:26 -06:00
1 parent a8ea3f0e64
commit 6357c54574
2 files changed
+11 -13

No files matched your search

+1
View File
@@ -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} }