ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/core/m_error.c
(Generate patch)

Comparing ircd-hybrid/trunk/modules/core/m_error.c (file contents):
Revision 1592 by michael, Sat Oct 27 21:02:32 2012 UTC vs.
Revision 1618 by michael, Tue Oct 30 21:04:38 2012 UTC

# Line 51 | Line 51 | m_error(struct Client *client_p, struct
51  
52    if (client_p == source_p)
53    {
54 <    sendto_realops_flags(UMODE_ALL, L_ADMIN, "ERROR :from %s -- %s",
54 >    sendto_realops_flags(UMODE_ALL, L_ADMIN, SEND_NOTICE,
55 >                         "ERROR :from %s -- %s",
56                           get_client_name(client_p, HIDE_IP), para);
57 <    sendto_realops_flags(UMODE_ALL, L_OPER, "ERROR :from %s -- %s",
57 >    sendto_realops_flags(UMODE_ALL, L_OPER, SEND_NOTICE,
58 >                         "ERROR :from %s -- %s",
59                           get_client_name(client_p, MASK_IP), para);
60    }
61    else
62    {
63 <    sendto_realops_flags(UMODE_ALL, L_OPER, "ERROR :from %s via %s -- %s",
64 <                         source_p->name, get_client_name(client_p, MASK_IP), para);
63 <    sendto_realops_flags(UMODE_ALL, L_ADMIN, "ERROR :from %s via %s -- %s",
63 >    sendto_realops_flags(UMODE_ALL, L_ADMIN, SEND_NOTICE,
64 >                         "ERROR :from %s via %s -- %s",
65                           source_p->name, get_client_name(client_p, HIDE_IP), para);
66 +    sendto_realops_flags(UMODE_ALL, L_OPER, SEND_NOTICE,
67 +                         "ERROR :from %s via %s -- %s",
68 +                         source_p->name, get_client_name(client_p, MASK_IP), para);
69    }
70  
71    if (MyClient(source_p))
# Line 80 | Line 84 | ms_error(struct Client *client_p, struct
84         source_p->name, para);
85  
86    if (client_p == source_p)
87 <    sendto_realops_flags(UMODE_ALL, L_ALL, "ERROR :from %s -- %s",
87 >    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
88 >                         "ERROR :from %s -- %s",
89                           get_client_name(client_p, MASK_IP), para);
90    else
91 <    sendto_realops_flags(UMODE_ALL, L_ALL, "ERROR :from %s via %s -- %s",
91 >    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
92 >                         "ERROR :from %s via %s -- %s",
93                           source_p->name,
94                           get_client_name(client_p, MASK_IP), para);
95   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines