Core/PacketIO: Updated and enabled SMSG_CHAT_SERVER_MESSAGE

This commit is contained in:
Vincent-Michael
2015-05-02 16:31:48 +02:00
parent a0fee439de
commit fc7014628a
6 changed files with 36 additions and 13 deletions

View File

@@ -134,9 +134,9 @@ public:
if (!*args)
return false;
char buff[2048];
sprintf(buff, handler->GetTrinityString(LANG_SYSTEMMESSAGE), args);
sWorld->SendServerMessage(SERVER_MSG_STRING, buff);
std::string str = handler->PGetParseString(LANG_SYSTEMMESSAGE, args);
sWorld->SendServerMessage(SERVER_MSG_STRING, str);
return true;
}
// announce to logged in GMs