summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorkatsklaw <katsklaw@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-29 19:17:25 +0000
committerkatsklaw <katsklaw@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-29 19:17:25 +0000
commit0501b8c1d966ca8becea0e517e140a58e5fd83a1 (patch)
tree2848560db318273e5d94398e982487558b681cbf /docs
parentfab0c6d8c8e7d3c3b9008e06a3dfba3ac856a867 (diff)
Added the optional include tag explaination and example.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1558 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs')
-rw-r--r--docs/inspircd.conf.example20
1 files changed, 19 insertions, 1 deletions
diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example
index a470f1466..4d6db4514 100644
--- a/docs/inspircd.conf.example
+++ b/docs/inspircd.conf.example
@@ -94,6 +94,23 @@
<power diepass="diepass" restartpass="restartpass" pause="2">
+=-=-=-=-=-=-=-=-=-=- INCLUDE CONFIGURATION -=-=-=-=-=-=-=-=-=-=-=-=-=
+# #
+# This optional tag allows you to include another config file #
+# allowing you to keep your configuration tidy. The configuration #
+# 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. #
+# #
+# Syntax is as follows: #
+# <include="file.conf"> #
+# #
+# A perfect example of an included conf file is helpop.conf #
+#<include="helpop.conf">
+
#-#-#-#-#-#-#-#-#-#- CONNECTIONS CONFIGURATION -#-#-#-#-#-#-#-#-#-#-
# #
# This is where you can configure which connections are allowed #
@@ -628,7 +645,8 @@
# Optional - If you specify to use the m_helpop.so module, then #
# specify below the path to the helpop.conf file. #
-<helpop file="/path/to/inspircd/helpop.conf">
+<die value="If you used the helpop include above then do *NOT* use this tag.">
+#<helpop file="/path/to/inspircd/helpop.conf">
#-#-#-#-#-#-#-#-#-#- RANDOMQUOTES CONFIGURATION -#-#-#-#-#-#-#-#-#-#-#