mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[7874] Fix: possible runtime crash.
Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
3beec18f4e
commit
5c80c62f9b
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue