aboutsummaryrefslogtreecommitdiff
path: root/Plugin/DevNull.pm
diff options
context:
space:
mode:
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;
}