summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-01-16 18:30:52 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-01-16 18:30:52 +0000
commit83f7ffe7e5cb8110964209e86ce8e44b11f4088d (patch)
treefa1f4842002862f58a04f01dcf9675a1b206e5b2 /doc
parentb0f035dd5ef59e0f9096b5e716411bbb7b5afa24 (diff)
- Forward-port -r1750 [IMPORTANT: nick and topic lengths are now configurable
via ircd.conf. A max_nick_length, as well as a max_topic_length configuration option can now be found in the serverinfo{} block] - OpenSSL 0.9.8s and higher is now required in order to enable ssl support git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1751 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'doc')
-rw-r--r--doc/example.conf13
-rw-r--r--doc/example.efnet.conf13
-rw-r--r--doc/example.quick.conf2
3 files changed, 28 insertions, 0 deletions
diff --git a/doc/example.conf b/doc/example.conf
index 3251e8e..dc7671e 100644
--- a/doc/example.conf
+++ b/doc/example.conf
@@ -89,6 +89,19 @@ serverinfo {
max_clients = 512;
/*
+ * max_nick_length: only applies to local clients. Must be in the
+ * range of 9 to 30. Default is 9 if nothing else is specified.
+ */
+ max_nick_length = 9;
+
+ /*
+ * max_topic_length: only applies to topics set by local clients.
+ * Must be in the range of 80 to 300. Default is 80 if nothing
+ * else is specified.
+ */
+ max_topic_length = 160;
+
+ /*
* rsa_private_key_file: the path to the file containing our
* rsa key for cryptlink.
*
diff --git a/doc/example.efnet.conf b/doc/example.efnet.conf
index dcff995..fc8b2d6 100644
--- a/doc/example.efnet.conf
+++ b/doc/example.efnet.conf
@@ -93,6 +93,19 @@ serverinfo {
max_clients = 512;
/*
+ * max_nick_length: only applies to local clients. Must be in the
+ * range of 9 to 30. Default is 9 if nothing else is specified.
+ */
+ max_nick_length = 9;
+
+ /*
+ * max_topic_length: only applies to topics set by local clients.
+ * Must be in the range of 80 to 300. Default is 80 if nothing
+ * else is specified.
+ */
+ max_topic_length = 160;
+
+ /*
* rsa_private_key_file: the path to the file containing our
* rsa key for cryptlink.
*
diff --git a/doc/example.quick.conf b/doc/example.quick.conf
index 80e65ce..755a20c 100644
--- a/doc/example.quick.conf
+++ b/doc/example.quick.conf
@@ -46,6 +46,8 @@ serverinfo {
#vhost = "192.169.0.1";
#vhost6 = "3ffe:80e8:546::2";
max_clients = 512;
+ max_nick_length = 9;
+ max_topic_length = 160;
#rsa_private_key_file = "/usr/local/ircd/etc/rsa.key";
#ssl_certificate_file = "/usr/local/ircd/etc/cert.pem";
#ssl_server_method = tlsv1, sslv3;