uncommented event 332

This commit is contained in:
Markus Schmidl 2016-11-17 19:53:00 +01:00
parent dfbead6946
commit 296de07e14
1 changed files with 1 additions and 2 deletions

View File

@ -232,13 +232,12 @@ def topic_update(info, conn=None, chan=None):
if newtopic != info[-1]:
conn.send("TOPIC %s :%s" % (chan, newtopic))
"""
@hook.event("332")
def e332_update(info, conn=None, chan=None):
"""e332_update -- run after current topic was requested, runs worker tasks too"""
chan = info[1]
topic_update(info, conn=conn, chan=chan)
print_wiki_changes(info, conn=conn, chan=chan)
"""
@hook.singlethread
@hook.event("353")