aboutsummaryrefslogtreecommitdiff
path: root/idalius.pl
diff options
context:
space:
mode:
Diffstat (limited to 'idalius.pl')
-rwxr-xr-xidalius.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/idalius.pl b/idalius.pl
index c88ed8e..8f82535 100755
--- a/idalius.pl
+++ b/idalius.pl
@@ -88,7 +88,7 @@ sub run_command {
my ($command, $rest) = split /\s+/, $command_string, 2;
@arguments = split /\s+/, $rest if $rest;
if ($commands{$command}) {
- return ($commands{$command})->(\&log_info, $who, $where, $rest, @arguments);
+ return ($commands{$command})->($irc, \&log_info, $who, $where, $rest, @arguments);
} else {
return "No such command \"$command\"";
}