From 0168a87290dccb8548b4943aca6a43b1a2567a96 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Mon, 17 Sep 2018 17:50:53 +1200 Subject: Add must_id functionality back Fixes regression in acc3dd54a4c861e2cb02f0c3cb29ea40ce16f706 --- Plugin/Random.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Plugin/Random.pm') diff --git a/Plugin/Random.pm b/Plugin/Random.pm index 27332f8..cea65fb 100644 --- a/Plugin/Random.pm +++ b/Plugin/Random.pm @@ -16,13 +16,13 @@ sub configure { } sub shuffle { - my ($self, $irc, $logger, $who, $where, $rest, @arguments) = @_; + my ($self, $irc, $logger, $who, $where, $ided, $rest, @arguments) = @_; return join " ", List::Util::shuffle(@arguments); } sub choose { - my ($self, $irc, $logger, $who, $where, $rest, @arguments) = @_; + my ($self, $irc, $logger, $who, $where, $ided, $rest, @arguments) = @_; return (List::Util::shuffle(@arguments))[0]; } 1; -- cgit v1.1