3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 09:19:23 +01:00

ts6: add RSFNC to supported caps

This commit is contained in:
James Lu 2016-07-11 23:29:44 -07:00
parent 59f6c861e0
commit bced9506c3

View File

@ -330,7 +330,9 @@ class TS6Protocol(TS6BaseProtocol):
# TB: topic burst command; we send this in topicBurst # TB: topic burst command; we send this in topicBurst
# EUID: extended UID command, which includes real hostname + account data info, # EUID: extended UID command, which includes real hostname + account data info,
# and allows sending CHGHOST without ENCAP. # and allows sending CHGHOST without ENCAP.
f('CAPAB :QS ENCAP EX CHW IE KNOCK SAVE SERVICES TB EUID') # RSFNC: states that we support RSFNC (forced nick changed attempts). XXX: With atheme services,
# does this actually do anything?
f('CAPAB :QS ENCAP EX CHW IE KNOCK SAVE SERVICES TB EUID RSFNC')
f('SERVER %s 0 :%s' % (self.irc.serverdata["hostname"], f('SERVER %s 0 :%s' % (self.irc.serverdata["hostname"],
self.irc.serverdata.get('serverdesc') or self.irc.botdata['serverdesc'])) self.irc.serverdata.get('serverdesc') or self.irc.botdata['serverdesc']))