Skip to content

Commit e58c771

Browse files
committed
Warn when a server->client command is too long
1 parent 51484b4 commit e58c771

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/engine/server/sv_main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ void PRINTF_LIKE(2) SV_SendServerCommand( client_t *cl, const char *fmt, ... )
202202
// ( q3infoboom / q3msgboom stuff )
203203
if ( strlen( ( char * ) message ) > 1022 )
204204
{
205+
Log::Warn( "^1Not sending reliable command because it is too long! [%.50s...]", message );
205206
return;
206207
}
207208

0 commit comments

Comments
 (0)