From 1666b1a8d8d629fd4ea89b083863dc217154eee9 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 8 Jul 2015 10:55:44 +0100 Subject: Fix a ton of typos. --- modules/database/db_old.cpp | 2 +- modules/database/db_redis.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/database') diff --git a/modules/database/db_old.cpp b/modules/database/db_old.cpp index 27b2e4fe9..2d33931a5 100644 --- a/modules/database/db_old.cpp +++ b/modules/database/db_old.cpp @@ -687,7 +687,7 @@ static void LoadVHosts() NickAlias *na = NickAlias::Find(nick); if (na == NULL) { - Log() << "Removing vhost for nonexistant nick " << nick; + Log() << "Removing vhost for non-existent nick " << nick; continue; } diff --git a/modules/database/db_redis.cpp b/modules/database/db_redis.cpp index 3cd023ed6..66677e6a8 100644 --- a/modules/database/db_redis.cpp +++ b/modules/database/db_redis.cpp @@ -139,7 +139,7 @@ class DatabaseRedis : public Module, public Pipe { Serialize::Type *t = obj->GetSerializableType(); - /* If there is no id yet for ths object, get one */ + /* If there is no id yet for this object, get one */ if (!obj->id) redis->SendCommand(new IDInterface(this, obj), "INCR id:" + t->GetName()); else -- cgit From 040b06ad56b19226b5c590cd9bc419c2ec489956 Mon Sep 17 00:00:00 2001 From: Thomas Fargeix Date: Mon, 11 May 2015 21:08:15 +0200 Subject: Fix db_flatfile to read "nobackupokay" --- modules/database/db_flatfile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/database') 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; } -- cgit