Rename msg to privmsg
This commit is contained in:
1 parent
79d464c247
commit
78ed4d39c3
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -3,7 +3,7 @@ Auto IRC Bot 3.0: Change Log
|
|||||||
|
|
||||||
3.0 Indev
|
3.0 Indev
|
||||||
==================================================================
|
==================================================================
|
||||||
* Added mode, msg, and notice subroutine to API::IRC.
|
* Added mode, privmsg, and notice subroutine to API::IRC.
|
||||||
* Added PASS support.
|
* Added PASS support.
|
||||||
* Bug fix: err() fatal errors now work. They didn't work
|
* Bug fix: err() fatal errors now work. They didn't work
|
||||||
due to bad regex.
|
due to bad regex.
|
||||||
|
|||||||
+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 mode msg notice);
|
our @EXPORT_OK = qw(cjoin cpart mode privmsg notice);
|
||||||
|
|
||||||
|
|
||||||
# Join a channel.
|
# Join a channel.
|
||||||
@@ -39,7 +39,7 @@ sub mode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Send a PRIVMSG
|
# Send a PRIVMSG
|
||||||
sub msg {
|
sub privmsg {
|
||||||
my ($svr, $target, $message) = @_;
|
my ($svr, $target, $message) = @_;
|
||||||
|
|
||||||
Auto::socksnd($svr, "PRIVMSG $target :$message");
|
Auto::socksnd($svr, "PRIVMSG $target :$message");
|
||||||
|
|||||||
Reference in new issue
Block a user