Core/Commands: Added TrinityString instead of hardcoded string
This commit is contained in:
@@ -3106,7 +3106,7 @@ bool ChatHandler::HandleBanInfoCharacterCommand(const char *args)
|
||||
PreparedQueryResult result = CharacterDatabase.Query(stmt);
|
||||
if (!result)
|
||||
{
|
||||
PSendSysMessage("Character %s has never been banned!", name.c_str());
|
||||
PSendSysMessage(LANG_CHAR_NOT_BANNED, name.c_str());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -804,7 +804,8 @@ enum TrinityStrings
|
||||
LANG_BANLIST_CHARACTERS_HEADER = 1133,
|
||||
LANG_ALLOW_TICKETS = 1134,
|
||||
LANG_DISALLOW_TICKETS = 1135,
|
||||
// Room for more level 3 1136-1199 not used
|
||||
LANG_CHAR_NOT_BANNED = 1136,
|
||||
// Room for more level 3 1137-1199 not used
|
||||
|
||||
// Debug commands
|
||||
LANG_CINEMATIC_NOT_EXIST = 1200,
|
||||
|
||||
Reference in New Issue
Block a user