Legacy hooks now need to be explicitely declared
This commit is contained in:
parent
da32ee6490
commit
4b9a6305d4
7 changed files with 10 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue