modules/m_post: remote rejection snote for HTTP proxies

This commit is contained in:
Sam Dodrill 2013-10-06 20:06:17 -07:00
parent 763e5c24b1
commit b98962e306
1 changed files with 3 additions and 0 deletions

View File

@ -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, sendto_realops_snomask(SNO_REJ, L_ALL,
"HTTP Proxy disconnected: [%s@%s]", "HTTP Proxy disconnected: [%s@%s]",
client_p->username, client_p->host); 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"); exit_client(client_p, source_p, source_p, "Client Exit");
return 0; return 0;