From ac358f41998b971a2a6479a92cc613489f1a9a1e Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 31 Jul 2016 20:42:34 -0700 Subject: [PATCH] ts6: add CHW to required capabilities This is implicitly used by relay when relaying @#channel messages. --- protocols/ts6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/ts6.py b/protocols/ts6.py index 049fbe3..1f0a2c1 100644 --- a/protocols/ts6.py +++ b/protocols/ts6.py @@ -370,7 +370,7 @@ class TS6Protocol(TS6BaseProtocol): # <- CAPAB :BAN CHW CLUSTER ENCAP EOPMOD EUID EX IE KLN KNOCK MLOCK QS RSFNC SAVE SERVICES TB UNKLN self.irc.caps = caps = args[0].split() - for required_cap in ('EUID', 'SAVE', 'TB', 'ENCAP', 'QS'): + for required_cap in ('EUID', 'SAVE', 'TB', 'ENCAP', 'QS', 'CHW'): if required_cap not in caps: raise ProtocolError('%s not found in TS6 capabilities list; this is required! (got %r)' % (required_cap, caps))