Added OnKick hook

This commit is contained in:
Jakob Ovrum 2010-07-18 18:18:39 +09:00
parent 531f584a56
commit 66361ac235
1 changed files with 4 additions and 0 deletions

View File

@ -233,6 +233,10 @@ end
--topic creation info
handlers["333"] = function(o, prefix, me, channel, nick, time)
o:invoke("OnTopicInfo", channel, nick, tonumber(time))
end
handlers["KICK"] = function(o, prefix, channel, kicked, reason)
o:invoke("OnKick", channel, kicked, parsePrefix(prefix), reason)
end
handlers["ERROR"] = function(o, prefix, message)