diff options
author | Adam <Adam@anope.org> | 2011-09-02 15:28:16 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-09-10 02:05:03 -0400 |
commit | 17ea4ed8f5c4b08668223897c6de87dd3bdd598c (patch) | |
tree | a32cf0bde18678d9ad8895f3e032cf69c48d13f2 /modules/extra/sql.h | |
parent | feaef7cc4aa97a0851ad404fc76652560bb14a70 (diff) |
Fixed service_reference to work correctly with external classes
Diffstat (limited to 'modules/extra/sql.h')
-rw-r--r-- | modules/extra/sql.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/sql.h b/modules/extra/sql.h index bc7267ce0..2487b2305 100644 --- a/modules/extra/sql.h +++ b/modules/extra/sql.h @@ -108,10 +108,10 @@ class SQLInterface /** Class providing the SQL service, modules call this to execute queries */ -class SQLProvider : public Service<SQLProvider> +class SQLProvider : public Service<Base> { public: - SQLProvider(Module *c, const Anope::string &n) : Service<SQLProvider>(c, n) { } + SQLProvider(Module *c, const Anope::string &n) : Service<Base>(c, n) { } virtual void Run(SQLInterface *i, const SQLQuery &query) = 0; |