summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/irc2sql.example.conf113
-rw-r--r--modules/extra/stats/cs_fantasy_stats.cpp (renamed from modules/stats/cs_fantasy_stats.cpp)0
-rw-r--r--modules/extra/stats/cs_fantasy_top.cpp (renamed from modules/stats/cs_fantasy_top.cpp)0
-rw-r--r--modules/extra/stats/irc2sql/CMakeLists.txt (renamed from modules/stats/irc2sql/CMakeLists.txt)0
-rw-r--r--modules/extra/stats/irc2sql/irc2sql.cpp (renamed from modules/stats/irc2sql/irc2sql.cpp)0
-rw-r--r--modules/extra/stats/irc2sql/irc2sql.h (renamed from modules/stats/irc2sql/irc2sql.h)0
-rw-r--r--modules/extra/stats/irc2sql/tables.cpp (renamed from modules/stats/irc2sql/tables.cpp)0
-rw-r--r--modules/extra/stats/irc2sql/utils.cpp (renamed from modules/stats/irc2sql/utils.cpp)0
-rw-r--r--modules/extra/stats/m_chanstats.cpp (renamed from modules/stats/m_chanstats.cpp)0
9 files changed, 56 insertions, 57 deletions
diff --git a/data/irc2sql.example.conf b/data/irc2sql.example.conf
index 8872b8817..25327387b 100644
--- a/data/irc2sql.example.conf
+++ b/data/irc2sql.example.conf
@@ -3,63 +3,6 @@
*
*/
-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
{
/*
@@ -104,3 +47,59 @@ service
*/
#channels = "@#services,#mychan"
}
+
+module
+{
+ name = "irc2sql"
+
+ /*
+ * 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"
+
+ /*
+ * The name of the SQL engine to use.
+ * This must be MySQL and must match 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 GeoIP database.
+ */
+
+ /*
+ * Enable GeoIP Lookup
+ */
+ GeoIPLookup = yes
+
+ /*
+ * Chose between the smaller 'country' or the bigger 'city' database.
+ *
+ */
+ GeoIPDatabase = "country"
+
+ /*
+ * 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"
+}
+
diff --git a/modules/stats/cs_fantasy_stats.cpp b/modules/extra/stats/cs_fantasy_stats.cpp
index 43f7eb04a..43f7eb04a 100644
--- a/modules/stats/cs_fantasy_stats.cpp
+++ b/modules/extra/stats/cs_fantasy_stats.cpp
diff --git a/modules/stats/cs_fantasy_top.cpp b/modules/extra/stats/cs_fantasy_top.cpp
index f747bebd8..f747bebd8 100644
--- a/modules/stats/cs_fantasy_top.cpp
+++ b/modules/extra/stats/cs_fantasy_top.cpp
diff --git a/modules/stats/irc2sql/CMakeLists.txt b/modules/extra/stats/irc2sql/CMakeLists.txt
index 9d36c6e8d..9d36c6e8d 100644
--- a/modules/stats/irc2sql/CMakeLists.txt
+++ b/modules/extra/stats/irc2sql/CMakeLists.txt
diff --git a/modules/stats/irc2sql/irc2sql.cpp b/modules/extra/stats/irc2sql/irc2sql.cpp
index a537f184c..a537f184c 100644
--- a/modules/stats/irc2sql/irc2sql.cpp
+++ b/modules/extra/stats/irc2sql/irc2sql.cpp
diff --git a/modules/stats/irc2sql/irc2sql.h b/modules/extra/stats/irc2sql/irc2sql.h
index b5fc8c37f..b5fc8c37f 100644
--- a/modules/stats/irc2sql/irc2sql.h
+++ b/modules/extra/stats/irc2sql/irc2sql.h
diff --git a/modules/stats/irc2sql/tables.cpp b/modules/extra/stats/irc2sql/tables.cpp
index d80f37535..d80f37535 100644
--- a/modules/stats/irc2sql/tables.cpp
+++ b/modules/extra/stats/irc2sql/tables.cpp
diff --git a/modules/stats/irc2sql/utils.cpp b/modules/extra/stats/irc2sql/utils.cpp
index 0c35b13fa..0c35b13fa 100644
--- a/modules/stats/irc2sql/utils.cpp
+++ b/modules/extra/stats/irc2sql/utils.cpp
diff --git a/modules/stats/m_chanstats.cpp b/modules/extra/stats/m_chanstats.cpp
index 13958dcc3..13958dcc3 100644
--- a/modules/stats/m_chanstats.cpp
+++ b/modules/extra/stats/m_chanstats.cpp