Implement #logs reload_all - To reload world and zone their log settings from the database

This commit is contained in:
Akkadius
2015-01-21 03:01:21 -06:00
parent ef0d383de9
commit a59138d2d9
4 changed files with 25 additions and 12 deletions
+5
View File
@@ -792,6 +792,11 @@ bool ZoneServer::Process() {
client_list.SendClientVersionSummary(srcvss->Name);
break;
}
case ServerOP_ReloadLogs: {
zoneserver_list.SendPacket(pack);
database.LoadLogSysSettings(Log.log_settings);
break;
}
case ServerOP_ReloadRules: {
zoneserver_list.SendPacket(pack);
RuleManager::Instance()->LoadRules(&database, "default");