diff options
| author | 2019-06-08 07:57:44 +0100 | |
|---|---|---|
| committer | 2019-06-08 07:57:44 +0100 | |
| commit | d9321b87ec744297b8ab482e38b4c72695968820 (patch) | |
| tree | b9b727eabdb35dd1059acbc8f0d24b34d130ed8a /modules/ircv3_sts.py | |
| parent | Fixes for tweet streaming found from finally testing it (diff) | |
| signature | ||
self._get_sts no longer exists
Diffstat (limited to 'modules/ircv3_sts.py')
| -rw-r--r-- | modules/ircv3_sts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ircv3_sts.py b/modules/ircv3_sts.py index 09ecf523..4704a144 100644 --- a/modules/ircv3_sts.py +++ b/modules/ircv3_sts.py @@ -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) |
