1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 03:06:37 +02:00

Fixed Windows build

This commit is contained in:
Adam
2010-10-11 18:47:54 -04:00
parent 717c123441
commit d7aa5f6a3a
13 changed files with 34 additions and 27 deletions
+3 -3
View File
@@ -333,7 +333,7 @@ class DBMySQL : public Module
{
private:
CommandSQLSync commandsqlsync;
MySQLInterface interface;
MySQLInterface sqlinterface;
service_reference<SQLProvider> SQL;
public:
@@ -350,7 +350,7 @@ class DBMySQL : public Module
ircdproto->SendGlobops(OperServ, "Found SQL again, going out of readonly mode...");
}
SQL->Run(&interface, query);
SQL->Run(&sqlinterface, query);
}
else
{
@@ -368,7 +368,7 @@ class DBMySQL : public Module
return SQL ? SQL->Escape(query) : query;
}
DBMySQL(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator), interface(this), SQL("mysql/main")
DBMySQL(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator), sqlinterface(this), SQL("mysql/main")
{
me = this;