summaryrefslogtreecommitdiff
path: root/src/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.c')
-rw-r--r--src/parse.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/parse.c b/src/parse.c
index 547fe0e..7ac3eff 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -759,37 +759,3 @@ m_ignore(struct Client *client_p, struct Client *source_p,
{
return;
}
-
-void
-rfc1459_command_send_error(struct Client *client_p, struct Client *source_p,
- int parc, char *parv[])
-{
- const char *in_para;
-
- in_para = (parc > 1 && *parv[1] != '\0') ? parv[1] : "<>";
-
- ilog(LOG_TYPE_IRCD, "Received ERROR message from %s: %s",
- source_p->name, in_para);
-
- if (client_p == source_p)
- {
- sendto_realops_flags(UMODE_ALL, L_ADMIN, SEND_NOTICE,
- "ERROR :from %s -- %s",
- get_client_name(client_p, HIDE_IP), in_para);
- sendto_realops_flags(UMODE_ALL, L_OPER, SEND_NOTICE,
- "ERROR :from %s -- %s",
- get_client_name(client_p, MASK_IP), in_para);
- }
- else
- {
- sendto_realops_flags(UMODE_ALL, L_ADMIN, SEND_NOTICE,
- "ERROR :from %s via %s -- %s",
- source_p->name, get_client_name(client_p, HIDE_IP), in_para);
- sendto_realops_flags(UMODE_ALL, L_OPER, SEND_NOTICE,
- "ERROR :from %s via %s -- %s",
- source_p->name, get_client_name(client_p, MASK_IP), in_para);
- }
-
- if (MyClient(source_p))
- exit_client(source_p, source_p, "ERROR");
-}