forgot to "disconnect" the client when it drops

This commit is contained in:
Bill Currie 2005-05-07 14:00:53 +00:00
parent 88ae6de8bf
commit d2c586dae7

View file

@ -113,6 +113,8 @@ cl_begin_f (client_t *cl, void *unused)
static void static void
cl_drop_f (client_t *cl, void *unused) cl_drop_f (client_t *cl, void *unused)
{ {
if (cl->server)
Server_Disconnect (cl);
client_drop (cl); client_drop (cl);
} }