1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 19:16:38 +02:00
This commit is contained in:
Adam
2012-01-25 15:48:07 -05:00
parent e88e37c59b
commit 52eaa7d6d6
53 changed files with 174 additions and 159 deletions
+3 -3
View File
@@ -34,7 +34,7 @@ class SQLCache : public Timer
class MySQLLiveModule : public Module
{
service_reference<SQLProvider, Base> SQL;
service_reference<SQLProvider> SQL;
SQLCache chan_cache, nick_cache, core_cache;
@@ -51,7 +51,7 @@ class MySQLLiveModule : public Module
public:
MySQLLiveModule(const Anope::string &modname, const Anope::string &creator) :
Module(modname, creator, DATABASE), SQL("")
Module(modname, creator, DATABASE), SQL("", "")
{
this->OnReload();
@@ -63,7 +63,7 @@ class MySQLLiveModule : public Module
{
ConfigReader config;
Anope::string engine = config.ReadValue("db_sql", "engine", "", 0);
this->SQL = engine;
this->SQL = service_reference<SQLProvider>("SQLProvider", engine);
}
void OnShutdown()