aboutsummaryrefslogtreecommitdiff
path: root/Plugin/Ping.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Plugin/Ping.pm')
-rw-r--r--Plugin/Ping.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugin/Ping.pm b/Plugin/Ping.pm
index 602469b..2cf46d5 100644
--- a/Plugin/Ping.pm
+++ b/Plugin/Ping.pm
@@ -7,7 +7,7 @@ sub configure {
my $self = shift;
my $cmdref = shift;
- $cmdref->("ping", sub { $self->ping(@_); } );
+ $cmdref->($self, "ping", sub { $self->ping(@_); } );
return $self;
}