[7874] Fix: possible runtime crash. Author: ApoC

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-22 16:44:35 -05:00
parent 7f2fb69726
commit 90b2951a53

View File

@@ -5215,7 +5215,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;