announce = nameOrIP.c_str();и announce = "Account '";Добавлено (23.03.2013, 13:43)
---------------------------------------------
if (mode == BAN_CHARACTER)
announce = "The character ";
else if (mode == BAN_IP)
announce = "The IP ";
else
announce = "Account ";
announce += nameOrIP.c_str();
announce += " was banned for ";
announce += durationStr;
announce += " by the character ";
announce += handler->GetSession()->GetPlayerName();
announce += ". The reason is: ";
announce += reasonStr;
sWorld->SendServerMessage(SERVER_MSG_STRING, announce.c_str());
} вот кусок кода