diff options
| author | 2019-06-16 15:33:20 +0100 | |
|---|---|---|
| committer | 2019-06-16 15:33:20 +0100 | |
| commit | 5fa3d66a39dc22bff9a1d0345ebb70448b060e82 (patch) | |
| tree | 73748ded1f2aa662130f6fcf3c6a00f0d9877e27 /modules/ircv3_chathistory.py | |
| parent | Parse inbound bitbot.dev/multi-line batches (diff) | |
Return all caps through received.cap.ls|new and check if valid in line_handler,
remove server.cap_started
Diffstat (limited to 'modules/ircv3_chathistory.py')
| -rw-r--r-- | modules/ircv3_chathistory.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/ircv3_chathistory.py b/modules/ircv3_chathistory.py index 36609368..5f72850d 100644 --- a/modules/ircv3_chathistory.py +++ b/modules/ircv3_chathistory.py @@ -12,8 +12,7 @@ class Module(ModuleManager.BaseModule): @utils.hook("received.cap.ls") @utils.hook("received.cap.new") def on_cap(self, event): - if EVENTPLAYBACK_CAP.available(event["capabilities"]): - return EVENTPLAYBACK_CAP.copy() + return EVENTPLAYBACK_CAP.copy() @utils.hook("received.batch.end") def batch_end(self, event): |
