diff --git a/example-conf.yml b/example-conf.yml index 58960b4..b511c22 100644 --- a/example-conf.yml +++ b/example-conf.yml @@ -204,12 +204,9 @@ servers: # InspIRCd specific option: sets the target InspIRCd protocol version. # Valid values include: - # "insp20" - InspIRCd 2.0.x (1202) [DEFAULT†] - # "insp3" - InspIRCd 3.x (1205) - #target_version: insp20 + # "insp3" - InspIRCd 3.x (1205) [DEFAULT] + # "insp20" - InspIRCd 2.0.x (1202) [legacy, deprecated] #target_version: insp3 - # † InspIRCd 2.0 servers can link to InspIRCd 3.0 via built-in link compatibility, but some - # new features may not work correctly. # Sets the max nick length for the network. It is important that this is set correctly, or # PyLink might introduce a nick that is too long and cause netsplits! diff --git a/protocols/inspircd.py b/protocols/inspircd.py index de51e3a..22a6683 100644 --- a/protocols/inspircd.py +++ b/protocols/inspircd.py @@ -17,7 +17,7 @@ class InspIRCdProtocol(TS6BaseProtocol): S2S_BUFSIZE = 0 # InspIRCd allows infinitely long S2S messages, so set bufsize to infinite SUPPORTED_IRCDS = ['insp20', 'insp3'] - DEFAULT_IRCD = SUPPORTED_IRCDS[0] + DEFAULT_IRCD = SUPPORTED_IRCDS[1] MAX_PROTO_VER = 1205 # anything above this warns (not officially supported)