mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 04:02:45 +01:00
ts6: add CHW to required capabilities
This is implicitly used by relay when relaying @#channel messages.
This commit is contained in:
parent
2ca3dfe689
commit
ac358f4199
@ -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
|
# <- 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()
|
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:
|
if required_cap not in caps:
|
||||||
raise ProtocolError('%s not found in TS6 capabilities list; this is required! (got %r)' % (required_cap, caps))
|
raise ProtocolError('%s not found in TS6 capabilities list; this is required! (got %r)' % (required_cap, caps))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user