From 52069835130c93a9f3f88fdf7b687ec868075c43 Mon Sep 17 00:00:00 2001 From: Uleat Date: Sat, 7 Sep 2019 23:18:12 -0400 Subject: [PATCH] Removed rule-based check for rule note updates --- common/ruletypes.h | 1 - world/net.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/common/ruletypes.h b/common/ruletypes.h index 9085fafea..420322fac 100644 --- a/common/ruletypes.h +++ b/common/ruletypes.h @@ -241,7 +241,6 @@ RULE_BOOL(World, MaxClientsSimplifiedLogic, false, "New logic that only uses Exe RULE_INT (World, TellQueueSize, 20, "") RULE_BOOL(World, StartZoneSameAsBindOnCreation, true, "Should the start zone ALWAYS be the same location as your bind?") RULE_BOOL(World, EnforceCharacterLimitAtLogin, false, "") -RULE_BOOL(World, RestoreRuleNotes, false, "Restores all database rule entry notes to their original text") RULE_CATEGORY_END() RULE_CATEGORY(Zone) diff --git a/world/net.cpp b/world/net.cpp index fe8d2a593..b7bf2189f 100644 --- a/world/net.cpp +++ b/world/net.cpp @@ -362,7 +362,7 @@ int main(int argc, char** argv) { } } - if (RuleB(World, RestoreRuleNotes) && !RuleManager::Instance()->RestoreRuleNotes(&database)) { + if (!RuleManager::Instance()->RestoreRuleNotes(&database)) { Log(Logs::General, Logs::World_Server, "Failed to process 'Restore Rule Notes' update operation."); } }