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

inspircd: set default target_version to insp3

This commit is contained in:
James Lu 2021-12-24 23:43:12 -08:00
parent 46cc621df1
commit f55057092a
2 changed files with 3 additions and 6 deletions

View File

@ -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!

View File

@ -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)