now handles topic changes

This commit is contained in:
Jakob Ovrum 2010-07-17 11:00:58 +09:00
parent 103d9cf4ce
commit e866807a44
1 changed files with 4 additions and 0 deletions

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()