Moved botinfo to State::IRC.

This commit is contained in:
Elijah Perrault committed 2011-03-20 13:40:41 -06:00
1 parent c999bd1372
commit 703f2c2ec8
6 files changed
+31 -30

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ hook_add('on_whoreply', 'ircusers.who', sub {
my ($svr, $nick, undef) = @_;
# Ensure it is not us.
if (lc $nick ne lc $Proto::IRC::botinfo{$svr}{nick}) {
if (lc $nick ne lc $State::IRC::botinfo{$svr}{nick}) {
# It is not. Check if they're already in the users hash.
if (!$users{$svr}{lc $nick}) {
# They are not; add them.