mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
Merge branch 'chat-len-fix' of git://github.com/Edward850/zdoom into Edward850-chat-len-fix
This commit is contained in:
commit
d3272f75e7
1 changed files with 3 additions and 0 deletions
|
@ -343,6 +343,9 @@ static void CT_ClearChatMessage ()
|
|||
|
||||
static void ShoveChatStr (const char *str, BYTE who)
|
||||
{
|
||||
if (strlen(str) < 1) // Don't send empty messages
|
||||
return;
|
||||
|
||||
FString substBuff;
|
||||
|
||||
if (str[0] == '/' &&
|
||||
|
|
Loading…
Reference in a new issue