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

+1
View File
@@ -3,6 +3,7 @@ Auto IRC Bot 3.0: Change Log
3.0 Indev
==================================================================
* Added names() to API::IRC which sends NAMES.
* Parse NAME replies (Numeric:353).
* Parse Numeric:005 and store PREFIX's data.
* Bug fix: The bot's nick is now stored correctly.
+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
{