mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[7747] Fixed crash in ModifyGender command.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
This commit is contained in:
parent
da9f94637a
commit
74f265a8de
2 changed files with 2 additions and 2 deletions
|
|
@ -6803,7 +6803,7 @@ bool ChatHandler::HandleModifyGenderCommand(const char *args)
|
||||||
|
|
||||||
if(!player)
|
if(!player)
|
||||||
{
|
{
|
||||||
PSendSysMessage(LANG_NO_PLAYER);
|
PSendSysMessage(LANG_NO_PLAYER, args);
|
||||||
SetSentErrorMessage(true);
|
SetSentErrorMessage(true);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7746"
|
#define REVISION_NR "7747"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue