version 1.50, 2015/12/07 09:47:41 |
version 1.51, 2015/12/08 01:10:31 |
|
|
TAILQ_FOREACH(c_loop, &clients, entry) { |
TAILQ_FOREACH(c_loop, &clients, entry) { |
if (c_loop->session != s || c == c_loop) |
if (c_loop->session != s || c == c_loop) |
continue; |
continue; |
proc_send_s(c_loop->peer, MSG_DETACH, s->name); |
server_client_detach(c, MSG_DETACH); |
} |
} |
} |
} |
|
|
|
|
TAILQ_FOREACH(c_loop, &clients, entry) { |
TAILQ_FOREACH(c_loop, &clients, entry) { |
if (c_loop->session != s || c == c_loop) |
if (c_loop->session != s || c == c_loop) |
continue; |
continue; |
proc_send_s(c_loop->peer, MSG_DETACH, s->name); |
server_client_detach(c_loop, MSG_DETACH); |
} |
} |
} |
} |
|
|
|
|
|
|
if (~c->flags & CLIENT_CONTROL) |
if (~c->flags & CLIENT_CONTROL) |
proc_send(c->peer, MSG_READY, -1, NULL, 0); |
proc_send(c->peer, MSG_READY, -1, NULL, 0); |
|
hooks_run(c->session->hooks, "client-attached", c); |
cmdq->client_exit = 0; |
cmdq->client_exit = 0; |
} |
} |
recalculate_sizes(); |
recalculate_sizes(); |