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-8/modules/m_kline.c (file contents):
Revision 1246 by michael, Fri Sep 30 10:47:53 2011 UTC vs.
Revision 1247 by michael, Sat Oct 1 07:54:24 2011 UTC

# Line 272 | Line 272 | apply_tkline(struct Client *source_p, st
272    sendto_one(source_p, ":%s NOTICE %s :Added temporary %d min. K-Line [%s@%s]",
273               MyConnect(source_p) ? me.name : ID_or_name(&me, source_p->from),
274               source_p->name, tkline_time/60, aconf->user, aconf->host);
275 <  ilog(L_TRACE, "%s added temporary %d min. K-Line for [%s@%s] [%s]",
275 >  ilog(LOG_TYPE_KLINE, "%s added temporary %d min. K-Line for [%s@%s] [%s]",
276         source_p->name, tkline_time/60,
277         aconf->user, aconf->host, aconf->reason);
278 <  log_oper_action(LOG_TEMP_KLINE_TYPE, source_p, "[%s@%s] [%s]\n",
279 <                  aconf->user, aconf->host, aconf->reason);
278 >
279    rehashed_klines = 1;
280   }
281  
# Line 387 | Line 386 | mo_unkline(struct Client *client_p,struc
386      sendto_realops_flags(UMODE_ALL, L_ALL,
387                           "%s has removed the temporary K-Line for: [%s@%s]",
388                           get_oper_name(source_p), user, host);
389 <    ilog(L_NOTICE, "%s removed temporary K-Line for [%s@%s]",
389 >    ilog(LOG_TYPE_KLINE, "%s removed temporary K-Line for [%s@%s]",
390           source_p->name, user, host);
391      return;
392    }
# Line 399 | Line 398 | mo_unkline(struct Client *client_p,struc
398      sendto_realops_flags(UMODE_ALL, L_ALL,
399                           "%s has removed the K-Line for: [%s@%s]",
400                           get_oper_name(source_p), user, host);
401 <    ilog(L_NOTICE, "%s removed K-Line for [%s@%s]",
401 >    ilog(LOG_TYPE_KLINE, "%s removed K-Line for [%s@%s]",
402           source_p->name, user, host);
403    }
404    else
# Line 445 | Line 444 | me_unkline(struct Client *client_p, stru
444        sendto_realops_flags(UMODE_ALL, L_ALL,  
445                             "%s has removed the temporary K-Line for: [%s@%s]",
446                             get_oper_name(source_p), kuser, khost);
447 <      ilog(L_NOTICE, "%s removed temporary K-Line for [%s@%s]",
447 >      ilog(LOG_TYPE_KLINE, "%s removed temporary K-Line for [%s@%s]",
448             source_p->name, kuser, khost);
449        return;
450      }
# Line 458 | Line 457 | me_unkline(struct Client *client_p, stru
457                             "%s has removed the K-Line for: [%s@%s]",
458                           get_oper_name(source_p), kuser, khost);
459  
460 <      ilog(L_NOTICE, "%s removed K-Line for [%s@%s]",
460 >      ilog(LOG_TYPE_KLINE, "%s removed K-Line for [%s@%s]",
461             source_p->name, kuser, khost);
462      }
463      else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines