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
@@ -3,6 +3,7 @@ Auto IRC Bot 3.0: Change Log
|
|||||||
|
|
||||||
3.0 Indev
|
3.0 Indev
|
||||||
==================================================================
|
==================================================================
|
||||||
|
* Added names() to API::IRC which sends NAMES.
|
||||||
* Parse NAME replies (Numeric:353).
|
* Parse NAME replies (Numeric:353).
|
||||||
* Parse Numeric:005 and store PREFIX's data.
|
* Parse Numeric:005 and store PREFIX's data.
|
||||||
* Bug fix: The bot's nick is now stored correctly.
|
* Bug fix: The bot's nick is now stored correctly.
|
||||||
|
|||||||
@@ -75,6 +75,16 @@ sub nick
|
|||||||
$Parser::IRC::botnick{$svr}{newnick} = $newnick;
|
$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.
|
# Quit IRC.
|
||||||
sub quit
|
sub quit
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user