summaryrefslogtreecommitdiff
path: root/modules/database/db_mysql.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-09-02 15:28:16 -0400
committerAdam <Adam@anope.org>2011-09-10 02:05:03 -0400
commit17ea4ed8f5c4b08668223897c6de87dd3bdd598c (patch)
treea32cf0bde18678d9ad8895f3e032cf69c48d13f2 /modules/database/db_mysql.cpp
parentfeaef7cc4aa97a0851ad404fc76652560bb14a70 (diff)
Fixed service_reference to work correctly with external classes
Diffstat (limited to 'modules/database/db_mysql.cpp')
-rw-r--r--modules/database/db_mysql.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/database/db_mysql.cpp b/modules/database/db_mysql.cpp
index 163bb5a44..4a9c52202 100644
--- a/modules/database/db_mysql.cpp
+++ b/modules/database/db_mysql.cpp
@@ -88,10 +88,10 @@ class DBMySQL : public Module
private:
CommandSQLSync commandsqlsync;
MySQLInterface sqlinterface;
- service_reference<SQLProvider> SQL;
+ service_reference<SQLProvider, Base> SQL;
public:
- service_reference<SessionService> SessionInterface;
+ service_reference<SessionService, Base> SessionInterface;
time_t lastwarn;
bool ro;