From 80485c5f379d07316f6d7a988627ceefb6c088dc Mon Sep 17 00:00:00 2001 From: David Phillips Date: Wed, 8 Mar 2017 15:28:12 +1300 Subject: Remove stray declararition --- saxrobot | 2 -- 1 file changed, 2 deletions(-) diff --git a/saxrobot b/saxrobot index da51f8f..f60207a 100755 --- a/saxrobot +++ b/saxrobot @@ -30,8 +30,6 @@ POE::Session->create( heap => { irc => $irc }, ); -our $hold_op = {}; - $poe_kernel->run(); sub _start { -- cgit v1.1 From 9bb8010141516ad438d8fd5ec41be77dc78395c1 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Thu, 9 Mar 2017 12:41:59 +1300 Subject: Tidy list indices --- saxrobot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saxrobot b/saxrobot index f60207a..3097a58 100755 --- a/saxrobot +++ b/saxrobot @@ -80,7 +80,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 ($ided != 1) { $irc->yield(privmsg => $nick => "You must identify with services"); -- cgit v1.1