diff --git a/data/anope.example.conf b/data/anope.example.conf index 141cce700..216f0310b 100644 --- a/data/anope.example.conf +++ b/data/anope.example.conf @@ -1228,7 +1228,7 @@ module * An optional prefix to prepended to the name of each created table. * Do not use the same prefix for other programs. */ - #prefix = "anope_db_" + #prefix = "anope21_" /* * Whether or not to import data from another database module in to SQL on diff --git a/data/chanstats.example.conf b/data/chanstats.example.conf index 623e2421f..0fdb41999 100644 --- a/data/chanstats.example.conf +++ b/data/chanstats.example.conf @@ -22,7 +22,7 @@ module * An optional prefix to prepended to the name of each created table. * Do not use the same prefix for other programs. */ - prefix = "anope_" + #prefix = "chanstats21_" smileyshappy = ":) :-) ;) ;-) :D :-D :P :-P" smileyssad = ":( :-( ;( ;-(" diff --git a/modules/chanserv/cs_fantasy_stats.cpp b/modules/chanserv/cs_fantasy_stats.cpp index acaace47d..10db7f355 100644 --- a/modules/chanserv/cs_fantasy_stats.cpp +++ b/modules/chanserv/cs_fantasy_stats.cpp @@ -86,7 +86,7 @@ public: void OnReload(Configuration::Conf &conf) override { const auto &block = conf.GetModule("chanstats"); - prefix = block.Get("prefix", "anope_"); + prefix = block.Get("prefix", "chanstats21_"); this->sql.SetServiceName(block.Get("engine")); } diff --git a/modules/chanserv/cs_fantasy_top.cpp b/modules/chanserv/cs_fantasy_top.cpp index 045ffb0c9..6c29465ff 100644 --- a/modules/chanserv/cs_fantasy_top.cpp +++ b/modules/chanserv/cs_fantasy_top.cpp @@ -114,7 +114,7 @@ public: void OnReload(Configuration::Conf &conf) override { const auto &block = conf.GetModule("chanstats"); - prefix = block.Get("prefix", "anope_"); + prefix = block.Get("prefix", "chanstats21_"); this->sql.SetServiceName(block.Get("engine")); } diff --git a/modules/chanstats.cpp b/modules/chanstats.cpp index d8ef74d24..832e15b14 100644 --- a/modules/chanstats.cpp +++ b/modules/chanstats.cpp @@ -509,7 +509,7 @@ public: void OnReload(Configuration::Conf &conf) override { const auto &block = conf.GetModule(this); - prefix = block.Get("prefix", "anope_"); + prefix = block.Get("prefix", "chanstats21_"); SmileysHappy = block.Get("SmileysHappy"); SmileysSad = block.Get("SmileysSad"); SmileysOther = block.Get("SmileysOther"); diff --git a/modules/database/db_sql.cpp b/modules/database/db_sql.cpp index bb5c2556a..2bc304dca 100644 --- a/modules/database/db_sql.cpp +++ b/modules/database/db_sql.cpp @@ -174,7 +174,7 @@ public: { const auto &block = conf.GetModule(this); this->sql.SetServiceName(block.Get("engine")); - this->prefix = block.Get("prefix", "anope_db_"); + this->prefix = block.Get("prefix", "anope21_"); this->import = block.Get("import"); } diff --git a/modules/database/db_sql_live.cpp b/modules/database/db_sql_live.cpp index 82d8a8cd7..c7de04845 100644 --- a/modules/database/db_sql_live.cpp +++ b/modules/database/db_sql_live.cpp @@ -158,7 +158,7 @@ public: const auto &block = conf.GetModule(this); this->SQL.SetServiceName(block.Get("engine")); - this->prefix = block.Get("prefix", "anope_db_"); + this->prefix = block.Get("prefix", "anope21_"); } void OnSerializableConstruct(Serializable *obj) override