# execute desired command
#$answer = $admin_commands->{$command}($kernel, $nick, $channel, $string);
$answer = "Execute command: $command";
- print_msg("Execute command: $command", INFO);
+ print_msg("Execute command: $command, $nick, $channel", INFO);
$answer = handle_command($command, $string, 'admin', $kernel, $heap, $who, $nick, $where, $msg, $sender, $irc, $channel);
} else {
# user is not allowed to execute admin commands
# execute desired command
#$answer = $admin_commands->{$command}($kernel, $nick, $channel, $string);
$answer = "Execute command: $command";
- print_msg("Execute command: $command", INFO);
+ print_msg("Execute command: $command, $nick, $channel", INFO);
$answer = handle_command($command, $string, 'operator', $kernel, $heap, $who, $nick, $where, $msg, $sender, $irc, $channel);
} else {
# user is not allowed to execute admin commands
# execute desired command
#$answer = $admin_commands->{$command}($kernel, $nick, $channel, $string);
$answer = "Execute command: $command";
- print_msg("Execute command: $command", INFO);
+ print_msg("Execute command: $command, $nick, $channel", INFO);
$answer = handle_command($command, $string, 'user', $kernel, $heap, $who, $nick, $where, $msg, $sender, $irc, $channel);
}