Legacy hooks now need to be explicitely declared

This commit is contained in:
nemunaire 2014-08-28 18:05:21 +02:00
commit 4b9a6305d4
7 changed files with 10 additions and 2 deletions

View file

@ -171,7 +171,7 @@ def treat_alias(msg, hooks_cache):
return False
return False
@hook("ask_default")
def parseask(msg):
global ALIAS
if re.match(".*(set|cr[ée]{2}|nouvel(le)?) alias.*", msg.content) is not None: