summaryrefslogtreecommitdiff
path: root/src/modules/sql.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/sql.h')
-rw-r--r--src/modules/sql.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/sql.h b/src/modules/sql.h
index ffe95a9cb..e0f306407 100644
--- a/src/modules/sql.h
+++ b/src/modules/sql.h
@@ -127,11 +127,10 @@ class SQLQuery : public classbase
{
public:
ModuleRef creator;
- const std::string dbid;
const std::string query;
- SQLQuery(Module* Creator, const std::string& db, const std::string& q)
- : creator(Creator), dbid(db), query(q) {}
+ SQLQuery(Module* Creator, const std::string& q)
+ : creator(Creator), query(q) {}
virtual ~SQLQuery() {}
virtual void OnResult(SQLResult& result) = 0;