Provide Ports and TLS Ports IRC-server ad-hoc options

This let any user choose which ports to use when connecting to the IRC
server. This also lets the user choose whether or not to force TLS usage (by
setting no non-TLS port).

fix #2731
This commit is contained in:
Florent Le Coz
2015-09-21 04:27:23 +02:00
parent 532228a3ce
commit 890cfe9099
4 changed files with 75 additions and 29 deletions
+3 -2
View File
@@ -6,8 +6,9 @@
<field name="owner" type="string" length="3071"/>
<field name="server" type="string" length="3071"/>
<field name="requireTls" type="boolean" default="true"/>
<field name="pass" type="string" length="1024"/>
<field name="pass" type="string" length="1024" default=""/>
<field name="tlsPorts" type="string" length="4096" default="6697;6670" />
<field name="ports" type="string" length="4096" default="6667" />
<index unique="true">
<indexfield name="owner"/>