Little fix to topic method

This commit is contained in:
Matthias Schiffer 2010-05-09 21:52:09 +02:00
parent 1384d1976f
commit 2451fdd40a

View file

@ -48,7 +48,7 @@ class ModuleManager:
def topic(self, room, nick, text, handler): def topic(self, room, nick, text, handler):
for mod in self._modules.itervalues(): for mod in self._modules.itervalues():
try: try:
mod.leave(room, nick, text, handler) mod.topic(room, nick, text, handler)
except: except:
handler.reply(traceback.format_exc(5)) handler.reply(traceback.format_exc(5))