mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +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
|
else
|
||||||
{
|
{
|
||||||
CharacterDatabase.PExecute("UPDATE characters SET at_login = at_login | '%u' WHERE guid = '%u'",uint32(AT_LOGIN_RESET_SPELLS), GUID_LOPART(target_guid));
|
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;
|
return true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7873"
|
#define REVISION_NR "7874"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue