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