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