aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsaxrobot4
1 files changed, 1 insertions, 3 deletions
diff --git a/saxrobot b/saxrobot
index 2f8b08c..3f6fdd9 100755
--- a/saxrobot
+++ b/saxrobot
@@ -31,8 +31,6 @@ POE::Session->create(
heap => { irc => $irc },
);
-our $hold_op = {};
-
$poe_kernel->run();
sub _start {
@@ -83,7 +81,7 @@ sub irc_public {
}
sub irc_msg {
- my ($who, $to, $what, $ided) = @_[ARG0, ARG1, ARG2, ARG3];
+ my ($who, $to, $what, $ided) = @_[ARG0 .. ARG3];
my $nick = (split /!/, $who)[0];
if ($config{must_id} && $ided != 1) {
$irc->yield(privmsg => $nick => "You must identify with services");