diff options
| author | 2021-03-30 20:24:41 +0100 | |
|---|---|---|
| committer | 2021-03-30 20:24:41 +0100 | |
| commit | 03058a043ac50ec985b08e374e6e116774a5b970 (patch) | |
| tree | 0294b4a06d21ca6b49a03671c42280454dd1a59d /src/modules/extra/m_sqlite3.cpp | |
| parent | Stop installing inspircd-genssl and delete the now useless manpage. (diff) | |
| download | inspircd++-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.cpp | 2 |
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++; } |
