From 69e16e536ba90acc4eaa9a5fcf6d50ac73dc4740 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 25 Jul 2015 18:26:53 -0700 Subject: [PATCH] ts6: add QS as a required capability --- protocols/ts6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/ts6.py b/protocols/ts6.py index 9b2e300..d7ac8d6 100644 --- a/protocols/ts6.py +++ b/protocols/ts6.py @@ -450,7 +450,7 @@ def handle_events(irc, data): # 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 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: raise ProtocolError('%s not found in TS6 capabilities list; this is required! (got %r)' % (required_cap, caps))