1
0
mirror of https://github.com/ShadowNinja/LuaIRC.git synced 2025-01-24 17:00:21 +01:00

now handles topic changes

This commit is contained in:
Jakob Ovrum 2010-07-17 11:00:58 +09:00
parent 103d9cf4ce
commit e866807a44

View File

@ -217,6 +217,10 @@ handlers["366"] = function(o, prefix, me, channel, msg)
end
end
handlers["TOPIC"] = function(o, prefix, channel, topic)
o:invoke("TopicChange", channel, topic)
end
handlers["ERROR"] = function(o, prefix, message)
o:invoke("OnDisconnect", message, true)
o:shutdown()