From 0475f0bb2fa7ee2f211c67f8df68b014c7fbd213 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Fri, 21 Sep 2018 21:29:17 +1200 Subject: Add runtime module {,un}loading --- Plugin/Source.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Plugin/Source.pm') diff --git a/Plugin/Source.pm b/Plugin/Source.pm index 6b93979..8719305 100644 --- a/Plugin/Source.pm +++ b/Plugin/Source.pm @@ -7,7 +7,7 @@ sub configure { my $self = shift; my $cmdref = shift; my @source_commands = ("guts", "help", "source"); - $cmdref->($_, sub { $self->source(@_); }) for @source_commands; + $cmdref->($self, $_, sub { $self->source(@_); }) for @source_commands; return $self; } -- cgit v1.1