diff options
author | David Phillips <david@sighup.nz> | 2018-09-21 21:29:17 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-09-21 21:32:28 +1200 |
commit | 0475f0bb2fa7ee2f211c67f8df68b014c7fbd213 (patch) | |
tree | 5d40897f5508f6c681d93145506d1e4fa0ebd53a /Plugin/Echo.pm | |
parent | f2812c477b230a1407381bfbbb393119c7280076 (diff) | |
download | idalius-0475f0bb2fa7ee2f211c67f8df68b014c7fbd213.tar.xz |
Add runtime module {,un}loading
Diffstat (limited to 'Plugin/Echo.pm')
-rw-r--r-- | Plugin/Echo.pm | 2 |
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; } |