Added umode() to API::Std.

This commit is contained in:
Elijah Perrault committed 2011-01-21 19:07:02 -07:00
1 parent dbfde5c33b
commit d115085df1
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ Auto IRC Bot 3.0: Change Log
3.0 Indev
==================================================================
* Added umode() to API::Std.
* Added events on_ucjoin, on_rcjoin and on_nick.
* Parse numerics 465, 471-475 and 477.
* Added an optional @args onto event_run() for sending @args
+2 -2
View File
@@ -9,7 +9,7 @@ use warnings;
use Exporter;
our @ISA = qw(Exporter);
our @EXPORT_OK = qw(cjoin cpart cmode privmsg notice quit nick usrc);
our @EXPORT_OK = qw(cjoin cpart cmode umode privmsg notice quit nick usrc);
# Join a channel.
@@ -46,7 +46,7 @@ sub umode
{
my ($svr, $modes) = @_;
Auto::socksnd($svr, "MODE ".$Parser::IRC::botnick{$svr}." $modes");
}
# Send a PRIVMSG.