Oops.
This commit is contained in:
1 parent
a22ee16ffb
commit
026c2e02db
2 files changed
+2
-13
No files matched your search
@@ -284,18 +284,6 @@ else {
|
||||
}
|
||||
undef $it;
|
||||
|
||||
### NOTE: REMOVE THIS FROM MAINLINE CODE. IT IS FOR DEVELOPMENT PURPOSES ONLY. ###
|
||||
sub hw {
|
||||
my (%data) = @_; my @argv = @{ $data{args} };
|
||||
if (API::Std::has_priv(API::Std::match_user(%data), "cmd.say")) {
|
||||
API::IRC::privmsg($data{svr}, $data{chan}, @argv);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
cmd_add("SAY", 0, 0, 0, \&Auto::hw) or exit;
|
||||
### End ###
|
||||
|
||||
# Infinite while loop.
|
||||
while (1) {
|
||||
# Timer check.
|
||||
|
||||
Reference in new issue
Block a user