Fix antititery.

This commit is contained in:
q3k 2015-07-21 17:59:08 +02:00
parent 81410ef5a5
commit fbd7f460be

View file

@ -260,7 +260,7 @@ end, "Remove kebab")
plugin.AddHook("irc.Message", "CyckiObusieczne", function(Username, Channel, Message)
if Channel.Name == "#hackerspace-pl" and Message:match("^ *:cycki") then
if Username ~= "ood" then
ghannel:Say(Username .. ": oh no you didn't!")
Channel:Say(Username .. ": oh no you didn't!")
plugin.Sleep(3)
Channel._irc:_Send("KICK " .. Channel.Name .. " " .. Username .. " :Your behaviour is not conducive to the desired environment.")
end