diff options
| author | 2019-05-22 08:34:52 +0100 | |
|---|---|---|
| committer | 2019-05-22 08:34:52 +0100 | |
| commit | f52fd2adc4a4d53b9c36ae056162b26a8ede6604 (patch) | |
| tree | af761cbe67825df581b312025aea2ae6b46a2ec3 | |
| parent | Default taget_str in send.stdout/send.stderr to target.name (diff) | |
| signature | ||
We should be using `CAP.available()` as it's not a string
| -rw-r--r-- | modules/resume.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/resume.py b/modules/resume.py index b1984d0f..d7e5935b 100644 --- a/modules/resume.py +++ b/modules/resume.py @@ -22,7 +22,7 @@ class Module(ModuleManager.BaseModule): @utils.hook("received.cap.ls") def on_cap_ls(self, event): - if CAP in event["capabilities"]: + if CAP.available(event["capabilities"]): cap = CAP.copy() cap.on_ack(lambda: self._cap_ack(event["server"])) return cap |
