Always Log chat message

directional-lights
Julius Michaelis 2016-11-01 19:25:37 +01:00
parent 9c98227a03
commit 75289dabb5
1 changed files with 3 additions and 4 deletions

View File

@ -1511,12 +1511,11 @@ void C4ControlMessage::Execute() const
str.Format((eType == C4CMT_Normal ? "<%s> %s" : " * %s %s"),
pClient ? pClient->getNick() : "???", szMessage);
}
// 2 lobby
// to lobby
if (pLobby)
pLobby->OnMessage(Game.Clients.getClientByID(iByClient), str.getData());
// or 2 log
else
Log(str.getData());
// to log
Log(str.getData());
break;
case C4CMT_Say: