--- deliantra/server/socket/lowlevel.C 2007/09/08 06:57:08 1.58 +++ deliantra/server/socket/lowlevel.C 2007/09/30 20:22:25 1.59 @@ -495,7 +495,9 @@ return; } - if (msg_is_special (msg) || (type [0] == 'c' && type [1] == '/')) + int len = strlen (msg); + + if (msg_is_special (msg) || (type [0] == 'c' && type [1] == '/') || len > (MAXSOCKBUF - 128)) cfperl_send_msg (this, color, type, msg); else if (can_msg) send_packet_printf ("msg %d %s %s", color & NDI_CLIENT_MASK, type, msg);