Add lost .c_str() call at send std::string content to ".pdump write" command output.

This commit is contained in:
VladimirMangos 2008-10-26 16:10:16 +03:00
parent 4658b2b38e
commit 24549669a9

View file

@ -5448,7 +5448,7 @@ bool ChatHandler::HandleLoadPDumpCommand(const char *args)
SetSentErrorMessage(true);
return false;
case DUMP_TOO_MANY_CHARS:
PSendSysMessage(LANG_ACCOUNT_CHARACTER_LIST_FULL,account_name,account_id);
PSendSysMessage(LANG_ACCOUNT_CHARACTER_LIST_FULL,account_name.c_str(),account_id);
SetSentErrorMessage(true);
return false;
default: