summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-18 17:58:49 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-18 17:58:49 +0000
commit1db755d190e2a6f099905d1ba11ca01c6b273dc9 (patch)
tree9f40951697015e92294cd13bf28c0d5611627fd4 /conf
parent4fca1ffbc43dd0eda8e6df665dac0fa83512daf8 (diff)
Add <define> configuration tag
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11907 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'conf')
-rw-r--r--conf/inspircd.conf.example25
-rw-r--r--conf/modules.conf.example6
2 files changed, 20 insertions, 11 deletions
diff --git a/conf/inspircd.conf.example b/conf/inspircd.conf.example
index dab2519fb..726605b16 100644
--- a/conf/inspircd.conf.example
+++ b/conf/inspircd.conf.example
@@ -46,9 +46,8 @@
# file you include will be treated as part of the configuration file #
# which includes it, in simple terms the inclusion is transparent. #
# #
-# All paths to config files are relative to the directory of the main #
-# config file inspircd.conf, unless the filename starts with a forward#
-# slash (/) in which case it is treated as an absolute path. #
+# All paths to config files are relative to the directory that the #
+# process runs in. #
# #
# You may also include an executable file, in which case if you do so #
# the output of the executable on the standard output will be added #
@@ -63,6 +62,18 @@
# #
+#-#-#-#-#-#-#-#-#-#-#-# VARIABLE DEFINITIONS -#-#-#-#-#-#-#-#-#-#-#-#
+# #
+# You can define variables that will be substituted later in the #
+# configuration file. This can be useful to allow settings to be #
+# easily changed, or to parameterize a remote includes. #
+# #
+# Variables may be redefined and may reference other variables. #
+# Value expansion happens at the time the tag is read. #
+# #
+<define name="bindip" value="1.2.2.3">
+<define name="localips" value="&bindip;/24">
+
#-#-#-#-#-#-#-#-#-#-#-#- SERVER DESCRIPTION -#-#-#-#-#-#-#-#-#-#-#-#-
# #
# Here is where you enter the information about your server. #
@@ -150,11 +161,11 @@
<bind address="" port="6660-6669" type="clients">
-# When linking servers, the openssl and gnutls transports are largely
+# When linking servers, the openssl and gnutls transports are completely
# link-compatible and can be used alongside each other
# on each end of the link without any significant issues.
# Transports can only be used on server blocks.
-# Supported Transports are: "zip", "openssl" and "gnutls".
+# Supported Transports are: "ziplinks", "openssl" and "gnutls".
# You must load m_ziplinks module for zip, m_ssl_openssl for openssl
# or m_ssl_gnutls for gnutls.
@@ -461,11 +472,11 @@
# prefixpart: What (if anything) a users' part message
# should be prefixed with.
- prefixpart="\""
+ prefixpart="&quot;"
# suffixpart: What (if anything) a users' part message
# should be suffixed with.
- suffixpart="\""
+ suffixpart="&quot;"
# fixedquit: Set all users' quit messages to this value.
#fixedquit=""
diff --git a/conf/modules.conf.example b/conf/modules.conf.example
index 9be667159..4dca4f3b9 100644
--- a/conf/modules.conf.example
+++ b/conf/modules.conf.example
@@ -126,9 +126,7 @@
# "baz qux quz" and $2 will contain "bar". You may #
# also use the special variables: $nick, $ident, #
# $host and $vhost, and you may separate multiple #
-# commands with \n. If you wish to use the ACTUAL #
-# characters \ and n together in a line, you must #
-# use the sequence "\\n". #
+# commands with a newline (&nl;). #
# #
# requires - If you provide a value for 'requires' this means #
# the given nickname MUST be online for the alias #
@@ -414,7 +412,7 @@
qprefix="~"
# aprefix: Prefix (symbol) to use for +a users.
- aprefix="&"
+ aprefix="&amp;"
# deprotectself: If this value is set (true, yes or 1), it will allow
# +a and +q users to remove the +a and +q from themselves, otherwise,