From 040b06ad56b19226b5c590cd9bc419c2ec489956 Mon Sep 17 00:00:00 2001 From: Thomas Fargeix Date: Mon, 11 May 2015 21:08:15 +0200 Subject: [PATCH] Fix db_flatfile to read "nobackupokay" --- modules/database/db_flatfile.cpp | 4 ++-- 1 file 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("nobackupok")) + if (!Config->GetModule(this)->Get("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("nobackupok")) + if (!Config->GetModule(this)->Get("nobackupokay")) Anope::Quitting = true; }