diff options
author | David Phillips <david@sighup.nz> | 2018-04-11 00:00:06 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-04-11 00:00:30 +1200 |
commit | 90e84e1c774a5e36aaafa7da655c8193218f1f37 (patch) | |
tree | f9c6c2810ccdc2cfbeba98eef541d80caa3cc865 /idalius.pl | |
parent | f53e5933315a316bb94d8d27cebbb95554aca6ba (diff) | |
download | idalius-90e84e1c774a5e36aaafa7da655c8193218f1f37.tar.xz |
Implement in-chan admin commands with Admin module
Starts to address GitHub issue #11
Diffstat (limited to 'idalius.pl')
-rwxr-xr-x | idalius.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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\""; } |