mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 11:39:25 +01:00
ts6: add QS as a required capability
This commit is contained in:
parent
e354ada838
commit
69e16e536b
@ -450,7 +450,7 @@ def handle_events(irc, data):
|
|||||||
# we know what modes it supports (indeed, this is a standard list).
|
# we know what modes it supports (indeed, this is a standard list).
|
||||||
# <- 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
|
||||||
irc.caps = caps = data.split(':', 1)[1].split()
|
irc.caps = caps = data.split(':', 1)[1].split()
|
||||||
for required_cap in ('EUID', 'SAVE', 'TB', 'ENCAP'):
|
for required_cap in ('EUID', 'SAVE', 'TB', 'ENCAP', 'QS'):
|
||||||
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