Introducing new hooks manager
Currently, the manager use a naive implementation, this is mainly for architectural testing purpose.
This commit is contained in:
parent
29819c7874
commit
3bc53bb4ef
14 changed files with 346 additions and 441 deletions
|
|
@ -33,7 +33,7 @@ def parseresponse(res):
|
|||
SERVERS[res.server] = dict()
|
||||
for receiver in res.receivers:
|
||||
SERVERS[res.server][receiver] = res
|
||||
return True
|
||||
return res
|
||||
|
||||
|
||||
@hook("cmd_hook", "more")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue