27 |
|
#include "stdinc.h" |
28 |
|
#include "list.h" |
29 |
|
#include "client.h" |
30 |
– |
#include "channel_mode.h" |
30 |
|
#include "event.h" |
32 |
– |
#include "fdlist.h" |
31 |
|
#include "hash.h" |
32 |
|
#include "irc_string.h" |
33 |
|
#include "ircd.h" |
36 |
– |
#include "s_gline.h" |
34 |
|
#include "numeric.h" |
35 |
< |
#include "packet.h" |
39 |
< |
#include "s_auth.h" |
35 |
> |
#include "auth.h" |
36 |
|
#include "s_bsd.h" |
37 |
|
#include "conf.h" |
38 |
|
#include "log.h" |
41 |
|
#include "send.h" |
42 |
|
#include "whowas.h" |
43 |
|
#include "s_user.h" |
48 |
– |
#include "dbuf.h" |
44 |
|
#include "memory.h" |
45 |
|
#include "mempool.h" |
46 |
|
#include "hostmask.h" |
47 |
|
#include "listener.h" |
53 |
– |
#include "irc_res.h" |
48 |
|
#include "userhost.h" |
49 |
|
#include "watch.h" |
50 |
|
#include "rng_mt.h" |
783 |
|
dlinkDelete(&source_p->localClient->lclient_node, &local_client_list); |
784 |
|
|
785 |
|
if (source_p->localClient->list_task) |
786 |
< |
free_list_task(source_p->localClient->list_task, source_p); |
786 |
> |
free_list_task(source_p); |
787 |
|
|
788 |
|
watch_del_watch_list(source_p); |
789 |
|
sendto_realops_flags(UMODE_CCONN, L_ALL, SEND_NOTICE, |
823 |
|
source_p->host, comment); |
824 |
|
} |
825 |
|
|
832 |
– |
/* |
833 |
– |
** Currently only server connections can have |
834 |
– |
** depending remote clients here, but it does no |
835 |
– |
** harm to check for all local clients. In |
836 |
– |
** future some other clients than servers might |
837 |
– |
** have remotes too... |
838 |
– |
** |
839 |
– |
** Close the Client connection first and mark it |
840 |
– |
** so that no messages are attempted to send to it. |
841 |
– |
** Remember it makes source_p->from == NULL. |
842 |
– |
*/ |
826 |
|
close_connection(source_p); |
827 |
|
} |
828 |
|
else if (IsClient(source_p) && HasFlag(source_p->servptr, FLAGS_EOB)) |