Added umode() to API::Std.
This commit is contained in:
1 parent
dbfde5c33b
commit
d115085df1
2 files changed
+3
-2
No files matched your search
@@ -3,6 +3,7 @@ Auto IRC Bot 3.0: Change Log
|
|||||||
|
|
||||||
3.0 Indev
|
3.0 Indev
|
||||||
==================================================================
|
==================================================================
|
||||||
|
* Added umode() to API::Std.
|
||||||
* Added events on_ucjoin, on_rcjoin and on_nick.
|
* Added events on_ucjoin, on_rcjoin and on_nick.
|
||||||
* Parse numerics 465, 471-475 and 477.
|
* Parse numerics 465, 471-475 and 477.
|
||||||
* Added an optional @args onto event_run() for sending @args
|
* Added an optional @args onto event_run() for sending @args
|
||||||
|
|||||||
+2
-2
@@ -9,7 +9,7 @@ use warnings;
|
|||||||
use Exporter;
|
use Exporter;
|
||||||
|
|
||||||
our @ISA = qw(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.
|
# Join a channel.
|
||||||
@@ -46,7 +46,7 @@ sub umode
|
|||||||
{
|
{
|
||||||
my ($svr, $modes) = @_;
|
my ($svr, $modes) = @_;
|
||||||
|
|
||||||
|
Auto::socksnd($svr, "MODE ".$Parser::IRC::botnick{$svr}." $modes");
|
||||||
}
|
}
|
||||||
|
|
||||||
# Send a PRIVMSG.
|
# Send a PRIVMSG.
|
||||||
|
|||||||
Reference in new issue
Block a user