From b98962e3069ad861b4cce91b5b607401808842be Mon Sep 17 00:00:00 2001 From: Sam Dodrill Date: Sun, 6 Oct 2013 20:06:17 -0700 Subject: [PATCH] modules/m_post: remote rejection snote for HTTP proxies --- modules/m_post.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/m_post.c b/modules/m_post.c index 3c08b30..2beb9a5 100644 --- a/modules/m_post.c +++ b/modules/m_post.c @@ -66,6 +66,9 @@ mr_dumb_proxy(struct Client *client_p, struct Client *source_p, int parc, const sendto_realops_snomask(SNO_REJ, L_ALL, "HTTP Proxy disconnected: [%s@%s]", client_p->username, client_p->host); + sendto_server(NULL, NULL, CAP_TS6, NOCAPS, + ":%s ENCAP * SNOTE r :%s HTTP Proxy disconnected: [%s@%s]", + me.id, source_p->name, client_p->username, client_p->host); exit_client(client_p, source_p, source_p, "Client Exit"); return 0;