Snitch on malcontents

This commit is contained in:
Nick Chambers 2021-06-21 03:10:56 -05:00
parent bd9eb79d63
commit 51c6890053
1 changed files with 2 additions and 0 deletions

2
rowbot
View File

@ -713,6 +713,8 @@ 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"
return 0
fi