* Fixed two typos. Thanks Wormheart.
--HG-- branch : trunk
This commit is contained in:
+2
-2
@@ -832,7 +832,7 @@ void World::LoadConfigSettings(bool reload)
|
||||
}
|
||||
|
||||
// log db cleanup interval
|
||||
m_configs[CONFIG_LOGDB_CLEARINTERVAL] = sConfig.GetIntDefault("LogDB.Opt.ClearInternval", 10);
|
||||
m_configs[CONFIG_LOGDB_CLEARINTERVAL] = sConfig.GetIntDefault("LogDB.Opt.ClearInterval", 10);
|
||||
if(int32(m_configs[CONFIG_LOGDB_CLEARINTERVAL]) <= 0)
|
||||
{
|
||||
sLog.outError("LogDB.Opt.ClearInternval (%i) must be > 0, set to default 10.", m_configs[CONFIG_LOGDB_CLEARINTERVAL]);
|
||||
@@ -844,7 +844,7 @@ void World::LoadConfigSettings(bool reload)
|
||||
m_timers[WUPDATE_CLEANDB].Reset();
|
||||
}
|
||||
m_configs[CONFIG_LOGDB_CLEARTIME] = sConfig.GetIntDefault("LogDB.Opt.ClearTime", 1209600); // 14 days default
|
||||
sLog.outString("Will clear `logs` table of entries older than %i seconds every %u milliseconds.",
|
||||
sLog.outString("Will clear `logs` table of entries older than %i seconds every %u minutes.",
|
||||
m_configs[CONFIG_LOGDB_CLEARTIME], m_configs[CONFIG_LOGDB_CLEARINTERVAL]);
|
||||
|
||||
m_configs[CONFIG_SKILL_CHANCE_ORANGE] = sConfig.GetIntDefault("SkillChance.Orange",100);
|
||||
|
||||
Reference in New Issue
Block a user