summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-02-18 13:00:46 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-02-18 13:00:46 +0100
commitf64393941ebcb546a2b7038dbe5807ca39ec8a5c (patch)
treee8af977ff94dab2dba38e7e8fcdd75daeaa72971
parent0db81ca46ad3a9faeacd9b138ba4c1634cd1faab (diff)
Alphabetically order modules in modules.example.conf ('r' < 's' and 'w' < 'x')
-rw-r--r--data/modules.example.conf179
1 files changed, 89 insertions, 90 deletions
diff --git a/data/modules.example.conf b/data/modules.example.conf
index 8fe9ca4db..30927433f 100644
--- a/data/modules.example.conf
+++ b/data/modules.example.conf
@@ -357,6 +357,82 @@ module { name = "help" }
port = 3306
}
}
+/*
+ * m_redis
+ *
+ * This module allows other modules to use Redis.
+ */
+#module
+{
+ name = "m_redis"
+
+ /* A redis database */
+ redis
+ {
+ /* The name of this service */
+ name = "redis/main"
+
+ /*
+ * The redis database to use. New connections default to 0.
+ */
+ db = 0
+
+ ip = "127.0.0.1"
+ port = 6379
+ }
+}
+
+/*
+ * m_regex_pcre [EXTRA]
+ *
+ * Provides the regex engine regex/pcre, which uses the Perl Compatible Regular Expressions library.
+ */
+#module { name = "m_regex_pcre" }
+
+/*
+ * m_regex_posix [EXTRA]
+ *
+ * Provides the regex engine regex/posix, which uses the POSIX compliant regular expressions.
+ * This is likely the only regex module you will not need extra libraries for.
+ */
+#module { name = "m_regex_posix" }
+
+/*
+ * m_regex_tre [EXTRA]
+ *
+ * Provides the regex engine regex/tre, which uses the TRE regex library.
+ */
+#module { name = "m_regex_tre" }
+
+/*
+ * m_rewrite
+ *
+ * Allows rewriting commands sent to/from clients.
+ */
+#module { name = "m_rewrite" }
+#command
+{
+ service = "ChanServ"; name = "CLEAR"; command = "rewrite"
+
+ /* Enable m_rewrite. */
+ rewrite = true
+
+ /* Source message to match. A $ can be used to match anything. */
+ rewrite_source = "CLEAR $ USERS"
+
+ /*
+ * Message to rewrite the source message to. A $ followed by a number, eg $0, gets
+ * replaced by the number-th word from the source_message, starting from 0.
+ */
+ rewrite_target = "KICK $1 *"
+
+ /*
+ * The command description. This only shows up in HELP's output.
+ * Comment this option to prevent the command from showing in the
+ * HELP command.
+ */
+ rewrite_description = "Clears all users from a channel"
+}
/*
* m_proxyscan
@@ -649,80 +725,26 @@ module { name = "help" }
}
/*
- * m_redis
- *
- * This module allows other modules to use Redis.
- */
-#module
-{
- name = "m_redis"
-
- /* A redis database */
- redis
- {
- /* The name of this service */
- name = "redis/main"
-
- /*
- * The redis database to use. New connections default to 0.
- */
- db = 0
-
- ip = "127.0.0.1"
- port = 6379
- }
-}
-
-/*
- * m_regex_pcre [EXTRA]
- *
- * Provides the regex engine regex/pcre, which uses the Perl Compatible Regular Expressions library.
- */
-#module { name = "m_regex_pcre" }
-
-/*
- * m_regex_posix [EXTRA]
- *
- * Provides the regex engine regex/posix, which uses the POSIX compliant regular expressions.
- * This is likely the only regex module you will not need extra libraries for.
- */
-#module { name = "m_regex_posix" }
-
-/*
- * m_regex_tre [EXTRA]
+ * webcpanel
*
- * Provides the regex engine regex/tre, which uses the TRE regex library.
- */
-#module { name = "m_regex_tre" }
-
-/*
- * m_rewrite
+ * This module creates a web configuration panel that allows users and operators to perform any task
+ * as they could over IRC. If you are using the default configuration you should be able to access
+ * this panel by visiting http://127.0.0.1:8080 in your web browser from the machine Anope is running on.
*
- * Allows rewriting commands sent to/from clients.
+ * This module requires m_httpd.
*/
-#module { name = "m_rewrite" }
-#command
+#module
{
- service = "ChanServ"; name = "CLEAR"; command = "rewrite"
-
- /* Enable m_rewrite. */
- rewrite = true
+ name = "webcpanel"
- /* Source message to match. A $ can be used to match anything. */
- rewrite_source = "CLEAR $ USERS"
+ /* Web server to use. */
+ server = "httpd/main";
- /*
- * Message to rewrite the source message to. A $ followed by a number, eg $0, gets
- * replaced by the number-th word from the source_message, starting from 0.
- */
- rewrite_target = "KICK $1 *"
+ /* Template to use. */
+ template = "default";
- /*
- * The command description. This only shows up in HELP's output.
- * Comment this option to prevent the command from showing in the
- * HELP command.
- */
- rewrite_description = "Clears all users from a channel"
+ /* Page title. */
+ title = "Anope IRC Services";
}
/*
@@ -746,26 +768,3 @@ module { name = "help" }
* Requires m_xmlrpc.
*/
#module { name = "m_xmlrpc_main" }
-
-/*
- * webcpanel
- *
- * This module creates a web configuration panel that allows users and operators to perform any task
- * as they could over IRC. If you are using the default configuration you should be able to access
- * this panel by visiting http://127.0.0.1:8080 in your web browser from the machine Anope is running on.
- *
- * This module requires m_httpd.
- */
-#module
-{
- name = "webcpanel"
-
- /* Web server to use. */
- server = "httpd/main";
-
- /* Template to use. */
- template = "default";
-
- /* Page title. */
- title = "Anope IRC Services";
-}