about summary refs log tree commit diff
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/e_network.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/e_network.c b/src/engine/e_network.c
index 9211726f..755b9901 100644
--- a/src/engine/e_network.c
+++ b/src/engine/e_network.c
@@ -727,6 +727,10 @@ int netserver_recv(NETSERVER *s, NETPACKET *packet)
 					/* find matching slot */
 					for(i = 0; i < s->max_clients; i++)
 					{
+						/* must be in some sort of online state */
+						if(s->slots[i].conn.state == NETWORK_CONNSTATE_OFFLINE)
+							continue;
+							
 						if(net_addr4_cmp(&s->slots[i].conn.peeraddr, &addr) == 0)
 						{
 							if(conn_feed(&s->slots[i].conn, &data, &addr))