info
does not exist in on_cap_new context in modules/sts.py
This commit is contained in:
parent
061a4ede23
commit
5fa442c8a5
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@ class Module(ModuleManager.BaseModule):
|
|||
@utils.hook("received.cap.new")
|
||||
def on_cap_new(self, event):
|
||||
if "sts" in event["capabilities"] and event["server"].tls:
|
||||
info = utils.parse.keyvalue(event["capabilities"]["sts"],
|
||||
delimiter=",")
|
||||
if event["server"].tls:
|
||||
self._change_duration(event["server"], info)
|
||||
|
||||
|
|
Loading…
Reference in a new issue