summaryrefslogtreecommitdiff
path: root/data/irc2sql.example.conf
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2013-10-26 18:31:50 +0200
committerDukePyrolator <DukePyrolator@anope.org>2013-10-26 18:42:58 +0200
commitb5af310f8aacd168ba4b9bee97374558e11c57fd (patch)
tree10be038b2b6fd717ae59b8cdb5106d76b896ef72 /data/irc2sql.example.conf
parent2cfc97053faba7582cd57701900de78ebacb12ce (diff)
added the irc2sql gateway module
Diffstat (limited to 'data/irc2sql.example.conf')
-rw-r--r--data/irc2sql.example.conf106
1 files changed, 106 insertions, 0 deletions
diff --git a/data/irc2sql.example.conf b/data/irc2sql.example.conf
new file mode 100644
index 000000000..8872b8817
--- /dev/null
+++ b/data/irc2sql.example.conf
@@ -0,0 +1,106 @@
+/*
+ * Example configuration file for the irc2sql gateway
+ *
+ */
+
+module
+{
+ name = "irc2sql"
+
+ /*
+ * The name of this engine.
+ * This must match with the name in the mysql{ } block
+ */
+ engine ="mysql/main"
+
+ /*
+ * An optional prefix to prepended to the name of each created table.
+ * Do not use the same prefix for other programs.
+ */
+
+ prefix = "anope_"
+
+ /*
+ * GeoIP - Automagically add a users geoip to the user table.
+ * Tables are created by irc2sql, you have to run the
+ * geoipupdate script after you started anope to download
+ * and import the actual geoip database
+ *
+ */
+
+ /*
+ * Enable GeoIP Lookup
+ */
+ GeoIPLookup = yes
+
+ /*
+ * Chose between the smaller 'country' or the bigger 'city' database.
+ *
+ */
+ GeoIPDatabase = "country"
+
+ /*
+ * The name of the client that should send the CTCP VERSION requests.
+ * It must already exist or must be defined in the following service block.
+ */
+ client = "StatServ"
+
+ /*
+ * Get the CTCP version from users
+ * The users connecting to the network will receive a CTCP VERSION
+ * request from the above configured services client
+ */
+ ctcpuser = "yes"
+
+ /*
+ * Send out CTCP VERSION requests to users during burst.
+ * Disable this if you restart Anope often and don't want to
+ * annoy your users.
+ */
+ ctcpeob = "yes"
+}
+
+service
+{
+ /*
+ * The name of the StatServ client.
+ */
+ nick = "StatServ"
+
+ /*
+ * The username of the StatServ client.
+ */
+ user = "StatServ"
+
+ /*
+ * The hostname of the StatServ client.
+ */
+ host = "services.host"
+
+ /*
+ * The realname of the StatServ client.
+ */
+ gecos = "Statistical Service"
+
+ /*
+ * The modes this client should use.
+ * Do not modify this unless you know what you are doing.
+ *
+ * These modes are very IRCd specific. If left commented, sane defaults
+ * are used based on what protocol module you have loaded.
+ *
+ * Note that setting this option incorrectly could potentially BREAK some, if
+ * not all, usefulness of the client. We will not support you if this client is
+ * unable to do certain things if this option is enabled.
+ */
+ #modes = "+o"
+
+ /*
+ * An optional comma separated list of channels this service should join. Outside
+ * of log channels this is not very useful, as the service will just idle in the
+ * specified channels, and will not accept any types of commands.
+ *
+ * Prefixes may be given to the channels in the form of mode characters or prefix symbols.
+ */
+ #channels = "@#services,#mychan"
+}