diff options
author | Thomas Fargeix <t.fargeix@gmail.com> | 2015-05-11 21:08:15 +0200 |
---|---|---|
committer | Thomas Fargeix <t.fargeix@gmail.com> | 2015-07-11 10:27:27 +0200 |
commit | 040b06ad56b19226b5c590cd9bc419c2ec489956 (patch) | |
tree | 9bff4354a2311918d909e6e0a37b4724c6b63594 /modules/database/db_flatfile.cpp | |
parent | 4362f53cc38177039d6f6b86565e73800e7b5390 (diff) |
Fix db_flatfile to read "nobackupokay"
Diffstat (limited to 'modules/database/db_flatfile.cpp')
-rw-r--r-- | modules/database/db_flatfile.cpp | 4 |
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; } |