Removed rule-based check for rule note updates

This commit is contained in:
Uleat 2019-09-07 23:18:12 -04:00
parent fec567c2f3
commit 5206983513
2 changed files with 1 additions and 2 deletions

View File

@ -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)

View File

@ -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.");
}
}