aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra/m_sqlite3.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-03-30 20:24:41 +0100
committerGravatar Sadie Powell2021-03-30 20:24:41 +0100
commit03058a043ac50ec985b08e374e6e116774a5b970 (patch)
tree0294b4a06d21ca6b49a03671c42280454dd1a59d /src/modules/extra/m_sqlite3.cpp
parentStop installing inspircd-genssl and delete the now useless manpage. (diff)
downloadinspircd++-03058a043ac50ec985b08e374e6e116774a5b970.tar.gz
inspircd++-03058a043ac50ec985b08e374e6e116774a5b970.tar.bz2
inspircd++-03058a043ac50ec985b08e374e6e116774a5b970.zip
Convert SQL::Field to be a typedef of optional<string>.
Diffstat (limited to 'src/modules/extra/m_sqlite3.cpp')
-rw-r--r--src/modules/extra/m_sqlite3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp
index cc8f0ef39..e233687c5 100644
--- a/src/modules/extra/m_sqlite3.cpp
+++ b/src/modules/extra/m_sqlite3.cpp
@@ -151,7 +151,7 @@ class SQLConn : public SQL::Provider
{
const char* txt = (const char*)sqlite3_column_text(stmt, i);
if (txt)
- res.fieldlists[res.rows][i] = SQL::Field(txt);
+ res.fieldlists[res.rows][i] = txt;
}
res.rows++;
}