aboutsummaryrefslogtreecommitdiff
path: root/Plugin/Ping.pm
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-09-21 21:29:17 +1200
committerDavid Phillips <david@sighup.nz>2018-09-21 21:32:28 +1200
commit0475f0bb2fa7ee2f211c67f8df68b014c7fbd213 (patch)
tree5d40897f5508f6c681d93145506d1e4fa0ebd53a /Plugin/Ping.pm
parentf2812c477b230a1407381bfbbb393119c7280076 (diff)
downloadidalius-0475f0bb2fa7ee2f211c67f8df68b014c7fbd213.tar.xz
Add runtime module {,un}loading
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;
}