Maybe I should include the actual changes...

This commit is contained in:
Elijah Perrault committed 2011-04-21 21:00:32 -06:00
1 parent 193461abf4
commit 03c1616364
1 file changed
+2 -8
+2 -8
View File
@@ -28,14 +28,8 @@ hook_add('on_rcjoin', 'ircusers.onjoin', sub {
hook_add('on_namesreply', 'ircusers.names', sub {
my ($svr, $chan, undef) = @_;
# Iterate through the users for this channel.
foreach (keys %{$State::IRC::chanusers{$svr}{$chan}}) {
# Check if the user already exists.
if (!$users{$svr}{$_}) {
# They do not; WHO them.
API::IRC::who($svr, $_);
}
}
# WHO the channel.
API::IRC::who($svr, $chan);
return 1;
});