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

Comparing ircd-hybrid/trunk/modules/m_kline.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 266 | Line 266 | apply_tkline(struct Client *source_p, st
266    SetConfTemporary(aconf);
267    add_conf_by_address(CONF_KLINE, aconf);
268  
269 <  sendto_realops_flags(UMODE_ALL, L_ALL,
269 >  sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
270                         "%s added temporary %d min. K-Line for [%s@%s] [%s]",
271                         get_oper_name(source_p), tkline_time/60,
272                         aconf->user, aconf->host,
# Line 386 | Line 386 | mo_unkline(struct Client *client_p,struc
386      sendto_one(source_p,
387                 ":%s NOTICE %s :Un-klined [%s@%s] from temporary K-Lines",
388                 me.name, source_p->name, user, host);
389 <    sendto_realops_flags(UMODE_ALL, L_ALL,
389 >    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
390                           "%s has removed the temporary K-Line for: [%s@%s]",
391                           get_oper_name(source_p), user, host);
392      ilog(LOG_TYPE_KLINE, "%s removed temporary K-Line for [%s@%s]",
# Line 398 | Line 398 | mo_unkline(struct Client *client_p,struc
398    {
399      sendto_one(source_p, ":%s NOTICE %s :K-Line for [%s@%s] is removed",
400                 me.name, source_p->name, user,host);
401 <    sendto_realops_flags(UMODE_ALL, L_ALL,
401 >    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
402                           "%s has removed the K-Line for: [%s@%s]",
403                           get_oper_name(source_p), user, host);
404      ilog(LOG_TYPE_KLINE, "%s removed K-Line for [%s@%s]",
# Line 444 | Line 444 | me_unkline(struct Client *client_p, stru
444        sendto_one(source_p,
445                   ":%s NOTICE %s :Un-klined [%s@%s] from temporary K-Lines",
446                   me.name, source_p->name, kuser, khost);
447 <      sendto_realops_flags(UMODE_ALL, L_ALL,  
447 >      sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
448                             "%s has removed the temporary K-Line for: [%s@%s]",
449                             get_oper_name(source_p), kuser, khost);
450        ilog(LOG_TYPE_KLINE, "%s removed temporary K-Line for [%s@%s]",
# Line 456 | Line 456 | me_unkline(struct Client *client_p, stru
456      {
457        sendto_one(source_p, ":%s NOTICE %s :K-Line for [%s@%s] is removed",
458                   me.name, source_p->name, kuser, khost);
459 <      sendto_realops_flags(UMODE_ALL, L_ALL,
459 >      sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
460                             "%s has removed the K-Line for: [%s@%s]",
461                           get_oper_name(source_p), kuser, khost);
462  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines