aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-10-07 19:41:07 +0100
committerGravatar Sadie Powell2022-10-07 19:41:07 +0100
commit45cfe11c989a53f6cbdf4bf3cfa45a2440bc39b1 (patch)
treeac3ef714f04ecc00b3b9d35339ad0015c4bca037 /include
parentDrop attempts to send a tag message to a server. (diff)
Fix saving the database identifier in SQL::Provider.
Diffstat (limited to 'include')
-rw-r--r--include/modules/sql.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/modules/sql.h b/include/modules/sql.h
index 636f3286f..2c90c42c9 100644
--- a/include/modules/sql.h
+++ b/include/modules/sql.h
@@ -238,6 +238,7 @@ class SQL::Provider : public DataProvider
public:
Provider(Module* Creator, const std::string& Name)
: DataProvider(Creator, "SQL/" + Name)
+ , dbid(Name)
{
}