diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-08-02 18:43:30 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-08-02 18:43:30 +0000 |
commit | dca3bdd27fe02518d340e78df92b74867eebbf71 (patch) | |
tree | 1d9415dc5e8c5a8861c9e8c2a799a583d67d39bc /src/parse.c | |
parent | a45e4e474b00add75c05f6d2bc1a7339f06c3b10 (diff) |
- Removed rfc1459_command_send_error() message handler
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2434 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src/parse.c')
-rw-r--r-- | src/parse.c | 34 |
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"); -} |