mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
@@ -418,7 +418,7 @@ bool PlayerDumpWriter::GetDump(ObjectGuid::LowType guid, std::string &dump)
|
||||
DumpReturn PlayerDumpWriter::WriteDump(const std::string& file, ObjectGuid::LowType guid)
|
||||
{
|
||||
if (sWorld->getBoolConfig(CONFIG_PDUMP_NO_PATHS))
|
||||
if (strstr(file.c_str(), "\\") || strstr(file.c_str(), "/"))
|
||||
if (strchr(file.c_str(), '\\') || strchr(file.c_str(), '/'))
|
||||
return DUMP_FILE_OPEN_ERROR;
|
||||
|
||||
if (sWorld->getBoolConfig(CONFIG_PDUMP_NO_OVERWRITE))
|
||||
|
||||
Reference in New Issue
Block a user