--- deliantra/server/socket/item.C 2007/07/24 04:55:35 1.51 +++ deliantra/server/socket/item.C 2007/07/29 19:11:47 1.52 @@ -427,7 +427,7 @@ add_object_to_socklist (*pl->ns, sl, head); got_one++; - if (sl.length () >= (MAXSOCKBUF - MAXITEMLEN)) + if (sl.length () > MAXSOCKBUF - MAXITEMLEN) { pl->ns->send_packet (sl); @@ -481,7 +481,7 @@ * items (especially with some of the bags out there) to * overflow the buffer. IF so, send multiple item commands. */ - if (sl.length () >= (MAXSOCKBUF - MAXITEMLEN)) + if (sl.length () > MAXSOCKBUF - MAXITEMLEN) { pl->contr->ns->send_packet (sl);