aboutsummaryrefslogtreecommitdiff
path: root/Plugin/Echo.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/Echo.pm
parentf2812c477b230a1407381bfbbb393119c7280076 (diff)
downloadidalius-0475f0bb2fa7ee2f211c67f8df68b014c7fbd213.tar.xz
Add runtime module {,un}loading
Diffstat (limited to 'Plugin/Echo.pm')
-rw-r--r--Plugin/Echo.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugin/Echo.pm b/Plugin/Echo.pm
index ba66c48..f5225fe 100644
--- a/Plugin/Echo.pm
+++ b/Plugin/Echo.pm
@@ -7,7 +7,7 @@ sub configure {
my $self = shift;
my $cmdref = shift;
- $cmdref->("echo", sub { $self->echo(@_); } );
+ $cmdref->($self, "echo", sub { $self->echo(@_); } );
return $self;
}