self._get_sts no longer exists
This commit is contained in:
parent
3a2404d1c9
commit
d9321b87ec
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
@utils.hook("received.cap.new")
|
||||
def on_cap_new(self, event):
|
||||
sts = self._get_sts(event["capabilities"])
|
||||
if sts and event["server"].connection_params.tls:
|
||||
if CAP.available(event["capabilities"]
|
||||
) and event["server"].connection_params.tls:
|
||||
info = utils.parse.keyvalue(sts, delimiter=",")
|
||||
self.change_duration(event["server"], info)
|
||||
|
||||
|
|
Loading…
Reference in a new issue