Rewrote how we parse what channels the bot is in.

This commit is contained in:
Elijah Perrault committed 2011-01-21 16:39:10 -07:00
1 parent 1e178687bc
commit 3afdcfd374
2 files changed
+21 -7

No files matched your search

-7
View File
@@ -18,13 +18,6 @@ sub cjoin
my ($svr, $chan) = @_;
Auto::socksnd($svr, "JOIN $chan");
unless (defined $Parser::IRC::botchans{$svr}) {
@{ $Parser::IRC::botchans{$svr} } = ($chan);
}
else {
push(@{ $Parser::IRC::botchans{$svr} }, $chan);
}
}
# Part a channel.