[7874] Fix: possible runtime crash.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2009-05-22 18:20:33 +02:00
parent 3beec18f4e
commit 5c80c62f9b
2 changed files with 2 additions and 2 deletions

View file

@ -4599,7 +4599,7 @@ bool ChatHandler::HandleResetSpellsCommand(const char * args)
else
{
CharacterDatabase.PExecute("UPDATE characters SET at_login = at_login | '%u' WHERE guid = '%u'",uint32(AT_LOGIN_RESET_SPELLS), GUID_LOPART(target_guid));
PSendSysMessage(LANG_RESET_SPELLS_OFFLINE,target_name);
PSendSysMessage(LANG_RESET_SPELLS_OFFLINE,target_name.c_str());
}
return true;