From 90e84e1c774a5e36aaafa7da655c8193218f1f37 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Wed, 11 Apr 2018 00:00:06 +1200 Subject: Implement in-chan admin commands with Admin module Starts to address GitHub issue #11 --- idalius.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'idalius.pl') 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\""; } -- cgit v1.1