Added names() to API::IRC which sends NAMES.
This commit is contained in:
1 parent
6f9a250211
commit
98cfa1acac
2 files changed
+11
No files matched your search
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user