Added names() to API::IRC which sends NAMES.

This commit is contained in:
Elijah Perrault committed 2011-01-24 22:26:04 -07:00
1 parent 6f9a250211
commit 98cfa1acac
2 files changed
+11

No files matched your search

+10
View File
@@ -75,6 +75,16 @@ sub nick
$Parser::IRC::botnick{$svr}{newnick} = $newnick;
}
# Request the users of a channel.
sub names
{
my ($svr, $chan) = @_;
Auto::socksnd($svr, "NAMES $chan");
return 1;
}
# Quit IRC.
sub quit
{