Skip to content

Commit

Permalink
Really don't kick admin now on flood
Browse files Browse the repository at this point in the history
  • Loading branch information
yagop committed Nov 9, 2015
1 parent 66b6def commit ee1b7d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/anti-flood.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ local function pre_process (msg)
print("Flood in not a chat group!")
elseif user == tostring(our_id) then
print('I won\'t kick myself')
elseif is_sudo(msg) and false then
elseif is_sudo(msg) then
print('I won\'t kick an admin!')
else
kick_user(user, chat)
Expand Down

0 comments on commit ee1b7d2

Please sign in to comment.