mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 11:21:58 +01:00
[7874] Fix: possible runtime crash. Author: ApoC
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user