mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #5308
5308: Log chat by default, put it onto `INFO` instead of `DEBUG` level r=def- a=heinrich5991 Fixes #5032. ## Checklist - [ ] Tested the change ingame - [ ] Provided screenshots if it is a visual change - [ ] Tested in combination with possibly related configuration options - [ ] Written a unit test if it works standalone, system.c especially - [ ] Considered possible null pointers and out of bounds array indexing - [ ] Changed no physics that affect existing maps - [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional) Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
This commit is contained in:
commit
ce0a262b6d
|
@ -445,7 +445,7 @@ void CGameContext::SendChat(int ChatterClientID, int Team, const char *pText, in
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
str_format(aBuf, sizeof(aBuf), "*** %s", aText);
|
str_format(aBuf, sizeof(aBuf), "*** %s", aText);
|
||||||
Console()->Print(IConsole::OUTPUT_LEVEL_ADDINFO, Team != CHAT_ALL ? "teamchat" : "chat", aBuf);
|
Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, Team != CHAT_ALL ? "teamchat" : "chat", aBuf);
|
||||||
|
|
||||||
if(Team == CHAT_ALL)
|
if(Team == CHAT_ALL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue