1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 11:46:38 +02:00

Fix db_flatfile to read "nobackupokay"

This commit is contained in:
Thomas Fargeix
2015-05-11 21:08:15 +02:00
parent 4362f53cc3
commit 040b06ad56
+2 -2
View File
@@ -149,7 +149,7 @@ class DBFlatFile : public Module, public Pipe
Anope::string err = Anope::LastError();
Log(this) << "Unable to back up database " << *it << " (" << err << ")!";
if (!Config->GetModule(this)->Get<bool>("nobackupok"))
if (!Config->GetModule(this)->Get<bool>("nobackupokay"))
{
Anope::Quitting = true;
Anope::QuitReason = "Unable to back up database " + *it + " (" + err + ")";
@@ -214,7 +214,7 @@ class DBFlatFile : public Module, public Pipe
Log(this) << "Error saving databases: " << buf;
if (!Config->GetModule(this)->Get<bool>("nobackupok"))
if (!Config->GetModule(this)->Get<bool>("nobackupokay"))
Anope::Quitting = true;
}