aboutsummaryrefslogtreecommitdiff
path: root/idalius.pl
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-04-11 00:00:06 +1200
committerDavid Phillips <david@sighup.nz>2018-04-11 00:00:30 +1200
commit90e84e1c774a5e36aaafa7da655c8193218f1f37 (patch)
treef9c6c2810ccdc2cfbeba98eef541d80caa3cc865 /idalius.pl
parentf53e5933315a316bb94d8d27cebbb95554aca6ba (diff)
downloadidalius-90e84e1c774a5e36aaafa7da655c8193218f1f37.tar.xz
Implement in-chan admin commands with Admin module
Starts to address GitHub issue #11
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\"";
}