ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/lowlevel.C
(Generate patch)

Comparing deliantra/server/socket/lowlevel.C (file contents):
Revision 1.65 by root, Thu May 8 20:03:50 2008 UTC vs.
Revision 1.66 by root, Fri Sep 19 01:39:45 2008 UTC

485 return; 485 return;
486 } 486 }
487 487
488 int len = strlen (msg); 488 int len = strlen (msg);
489 489
490 if (!(color & NDI_VERBATIM)
491 && (msg_is_special (msg)
490 if (msg_is_special (msg) || (type [0] == 'c' && type [1] == '/') || len > (MAXSOCKBUF - 128)) 492 || (type [0] == 'c' && type [1] == '/') || len > (MAXSOCKBUF - 128)))
491 cfperl_send_msg (this, color, type, msg); 493 cfperl_send_msg (this, color, type, msg);
492 else if (can_msg) 494 else if (can_msg)
493 send_packet_printf ("msg %d %s %s", color & NDI_CLIENT_MASK, type, msg); 495 send_packet_printf ("msg %d %s %s", color & NDI_CLIENT_MASK, type, msg);
494 else if (color < 0) 496 else if (color < 0)
495 return; // client cannot handle this 497 return; // client cannot handle this

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines