[7747] Fixed crash in ModifyGender command.

Signed-off-by: AlexDereka <dereka.alex@gmail.com>
This commit is contained in:
Foks 2009-05-03 23:26:08 +04:00 committed by AlexDereka
parent da9f94637a
commit 74f265a8de
2 changed files with 2 additions and 2 deletions

View file

@ -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;
} }

View file

@ -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__