summaryrefslogtreecommitdiff
path: root/modules/extra/db_mysql.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-10-11 18:47:54 -0400
committerAdam <Adam@anope.org>2010-10-11 18:47:54 -0400
commitd7aa5f6a3a69c69b5ab3d2ddcdfd2f819e840703 (patch)
tree2236bbe0a4a984e4cabb8d8b1547a7f84dcd3018 /modules/extra/db_mysql.cpp
parent717c123441bb47a4fab859e8fb3ec8c6ac5b7223 (diff)
Fixed Windows build
Diffstat (limited to 'modules/extra/db_mysql.cpp')
-rw-r--r--modules/extra/db_mysql.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/extra/db_mysql.cpp b/modules/extra/db_mysql.cpp
index 92f0d1528..f50d2630e 100644
--- a/modules/extra/db_mysql.cpp
+++ b/modules/extra/db_mysql.cpp
@@ -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;