aboutsummaryrefslogtreecommitdiff
path: root/Plugin/Random.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Plugin/Random.pm')
-rw-r--r--Plugin/Random.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Plugin/Random.pm b/Plugin/Random.pm
index cea65fb..c6ed304 100644
--- a/Plugin/Random.pm
+++ b/Plugin/Random.pm
@@ -9,8 +9,8 @@ sub configure {
my $self = shift;
my $cmdref = shift;
- $cmdref->("shuffle", sub { $self->shuffle(@_); } );
- $cmdref->("choose", sub { $self->choose(@_); } );
+ $cmdref->($self, "shuffle", sub { $self->shuffle(@_); } );
+ $cmdref->($self, "choose", sub { $self->choose(@_); } );
return $self;
}