Due to last commit, changes modules to follow new hooks declaration
This commit is contained in:
parent
a2d9757d06
commit
89206d9a91
5 changed files with 27 additions and 31 deletions
|
|
@ -15,8 +15,8 @@ def help_full ():
|
|||
|
||||
def load(context):
|
||||
from hooks import Hook
|
||||
context.hooks.add_hook(context.hooks.cmd_hook, Hook(cmd_syno, "syno"))
|
||||
context.hooks.add_hook(context.hooks.cmd_hook, Hook(cmd_syno, "synonyme"))
|
||||
context.hooks.add_hook("cmd_hook", Hook(cmd_syno, "syno"))
|
||||
context.hooks.add_hook("cmd_hook", Hook(cmd_syno, "synonyme"))
|
||||
|
||||
|
||||
def cmd_syno(msg):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue