forked from metin2/server
1
0
Fork 0

fix: Dumb syslog usage.

This commit is contained in:
WildEgo 2024-06-01 18:59:04 +01:00
parent 20565c174b
commit 2d35c102c2
1 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ namespace quest
string name = line.substr(line.find('\t') + 1); string name = line.substr(line.find('\t') + 1);
if (test_server) if (test_server)
sys_log(0, "QUEST reading script of %s(%d)", name.c_str(), type); SPDLOG_DEBUG("QUEST reading script of %s(%d)", name.c_str(), type);
if (quest_name == name) if (quest_name == name)
{ {
@ -231,7 +231,7 @@ namespace quest
} }
} }
else else
sys_err("QUEST Cannot open 'questcategory.txt'"); SPDLOG_ERROR("QUEST Cannot open 'questcategory.txt'");
return quest_type; return quest_type;
} }