diff --git a/rowbot b/rowbot index 9feff6d..57685f4 100755 --- a/rowbot +++ b/rowbot @@ -713,8 +713,11 @@ hook_cmd_sysroot() { hook_cmd_control_panel() { if [[ $from != "$owner" && $dev != yes ]]; then - privmsg "$to" "$from is not in the sudoers file. This incident will be reported." - info "security breach from %s in sector %s" "$from" "$to" + if [[ $action = @(raw|join|reload|level|dev|dev\?|trigger|cycle|dev) ]]; then + privmsg "$to" "$from is not in the sudoers file. This incident will be reported." + info "security breach from %s in sector %s" "$from" "$to" + fi + return 0 fi