summaryrefslogtreecommitdiff
path: root/src/database/database.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/database.cpp')
-rw-r--r--src/database/database.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/database/database.cpp b/src/database/database.cpp
index ba69d39..246cdbc 100644
--- a/src/database/database.cpp
+++ b/src/database/database.cpp
@@ -176,6 +176,7 @@ std::vector<Database::MucLogLine> Database::get_muc_logs(const std::string& owne
void Database::close()
{
sqlite3_close_v2(Database::db);
+ Database::db = nullptr;
}
std::string Database::gen_uuid()