summaryrefslogtreecommitdiff
path: root/modules/database/db_flatfile.cpp
diff options
context:
space:
mode:
authorAdam <adam@sigterm.info>2015-09-06 16:12:22 -0400
committerAdam <adam@sigterm.info>2015-09-06 16:12:22 -0400
commit054c227df0eea2ccfaa866b11c0cf2ce5ec5ec6e (patch)
tree67b0c91d20d6c0b21f3cd255dd7ce548d4740c33 /modules/database/db_flatfile.cpp
parent907e192aab72872d15186f87ae7acfe0f1b71901 (diff)
parent040b06ad56b19226b5c590cd9bc419c2ec489956 (diff)
Merge pull request #120 from Alef-Burzmali/2.0+nobackupok
Fix db_flatfile to read the "nobackokay" setting
Diffstat (limited to 'modules/database/db_flatfile.cpp')
-rw-r--r--modules/database/db_flatfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/database/db_flatfile.cpp b/modules/database/db_flatfile.cpp
index 97c88a986..8dd1bed99 100644
--- a/modules/database/db_flatfile.cpp
+++ b/modules/database/db_flatfile.cpp
@@ -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;
}