Snitch on malcontents
This commit is contained in:
parent
53c4d34639
commit
228b37d084
1 changed files with 2 additions and 0 deletions
2
rowbot
2
rowbot
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue