ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/modules/m_dline.c
(Generate patch)

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

# Line 62 | Line 62 | apply_tdline(struct Client *source_p, st
62    add_conf_by_address(CONF_DLINE, aconf);
63  
64  
65 <  sendto_realops_flags(UMODE_ALL, L_ALL,
65 >  sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
66                         "%s added temporary %d min. D-Line for [%s] [%s]",
67                         get_oper_name(source_p), tkline_time/60,
68                         aconf->host, aconf->reason);
# Line 468 | Line 468 | mo_undline(struct Client *client_p, stru
468      sendto_one(source_p,
469                 ":%s NOTICE %s :Un-Dlined [%s] from temporary D-Lines",
470                 me.name, source_p->name, addr);
471 <    sendto_realops_flags(UMODE_ALL, L_ALL,
471 >    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
472                           "%s has removed the temporary D-Line for: [%s]",
473                           get_oper_name(source_p), addr);
474      ilog(LOG_TYPE_DLINE, "%s removed temporary D-Line for [%s]",
# Line 480 | Line 480 | mo_undline(struct Client *client_p, stru
480    {
481      sendto_one(source_p, ":%s NOTICE %s :D-Line for [%s] is removed",
482                 me.name, source_p->name, addr);
483 <    sendto_realops_flags(UMODE_ALL, L_ALL,
483 >    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
484                           "%s has removed the D-Line for: [%s]",
485                           get_oper_name(source_p), addr);
486      ilog(LOG_TYPE_DLINE, "%s removed D-Line for [%s]",
# Line 515 | Line 515 | me_undline(struct Client *client_p, stru
515        sendto_one(source_p,
516                   ":%s NOTICE %s :Un-Dlined [%s] from temporary D-Lines",
517                   me.name, source_p->name, addr);
518 <      sendto_realops_flags(UMODE_ALL, L_ALL,
518 >      sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
519                             "%s has removed the temporary D-Line for: [%s]",
520                             get_oper_name(source_p), addr);
521        ilog(LOG_TYPE_DLINE, "%s removed temporary D-Line for [%s]",
# Line 527 | Line 527 | me_undline(struct Client *client_p, stru
527      {
528        sendto_one(source_p, ":%s NOTICE %s :D-Line for [%s] is removed",
529                   me.name, source_p->name, addr);
530 <      sendto_realops_flags(UMODE_ALL, L_ALL,
530 >      sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
531                             "%s has removed the D-Line for: [%s]",
532                             get_oper_name(source_p), addr);
533        ilog(LOG_TYPE_DLINE, "%s removed D-Line for [%s]",

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)