Changed some stuff to keep it consistent with old behavior: was seeing crashes related to ptimers on peq.

This commit is contained in:
KimLS 2013-03-06 11:19:44 -08:00
parent 2ee8e17ac0
commit adf42c8750
2 changed files with 2 additions and 2 deletions

View File

@ -347,7 +347,7 @@ bool PTimerList::Load(Database *db) {
//if it expired allready, dont bother.
cur = new PersistentTimer(_char_id, type, start_time, timer_time, enabled);
if(!cur->Expired(NULL, false))
if(!cur->Expired(NULL))
_list[type] = cur;
else
delete cur;

View File

@ -292,7 +292,7 @@ bool RuleManager::LoadRules(Database *db, const char *ruleset) {
{
safe_delete_array(query);
while((row = mysql_fetch_row(result))) {
if(!SetRule(row[0], row[1],NULL, false))
if(!SetRule(row[0], row[1], NULL, false))
_log(RULES__ERROR, "Unable to interpret rule record for %s", row[0]);
}
mysql_free_result(result);