duration
does not exist in the context of _change_duration
This commit is contained in:
parent
c3a2ffc48d
commit
19864a7e13
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class Module(ModuleManager.BaseModule):
|
|||
port = event["server"].port
|
||||
if "port" in info:
|
||||
port = int(info["port"])
|
||||
self._set_policy(server, port, duration)
|
||||
self._set_policy(server, port, info["duration"])
|
||||
|
||||
@utils.hook("received.cap.ls")
|
||||
def on_cap_ls(self, event):
|
||||
|
|
Loading…
Reference in a new issue