/[svn]/ircd-hybrid/trunk/modules/m_kline.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/modules/m_kline.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2339 by michael, Fri Apr 19 19:50:27 2013 UTC revision 2340 by michael, Wed Jul 3 13:31:23 2013 UTC
# Line 217  m_kline_add_kline(struct Client *source_ Line 217  m_kline_add_kline(struct Client *source_
217                 MyConnect(source_p) ? me.name : ID_or_name(&me, source_p->from),                 MyConnect(source_p) ? me.name : ID_or_name(&me, source_p->from),
218                 source_p->name, tkline_time/60, conf->user, conf->host);                 source_p->name, tkline_time/60, conf->user, conf->host);
219      ilog(LOG_TYPE_KLINE, "%s added temporary %d min. K-Line for [%s@%s] [%s]",      ilog(LOG_TYPE_KLINE, "%s added temporary %d min. K-Line for [%s@%s] [%s]",
220           source_p->name, tkline_time/60,           get_oper_name(source_p), tkline_time/60,
221           conf->user, conf->host, conf->reason);           conf->user, conf->host, conf->reason);
222    }    }
223    else    else
# Line 230  m_kline_add_kline(struct Client *source_ Line 230  m_kline_add_kline(struct Client *source_
230                 MyConnect(source_p) ? me.name : ID_or_name(&me, source_p->from),                 MyConnect(source_p) ? me.name : ID_or_name(&me, source_p->from),
231                   source_p->name, conf->user, conf->host);                   source_p->name, conf->user, conf->host);
232      ilog(LOG_TYPE_KLINE, "%s added K-Line for [%s@%s] [%s]",      ilog(LOG_TYPE_KLINE, "%s added K-Line for [%s@%s] [%s]",
233           source_p->name, conf->user, conf->host, conf->reason);           get_oper_name(source_p), conf->user, conf->host, conf->reason);
234    }    }
235    
236    conf->setat = CurrentTime;    conf->setat = CurrentTime;
# Line 347  mo_unkline(struct Client *client_p,struc Line 347  mo_unkline(struct Client *client_p,struc
347                           "%s has removed the K-Line for: [%s@%s]",                           "%s has removed the K-Line for: [%s@%s]",
348                           get_oper_name(source_p), user, host);                           get_oper_name(source_p), user, host);
349      ilog(LOG_TYPE_KLINE, "%s removed K-Line for [%s@%s]",      ilog(LOG_TYPE_KLINE, "%s removed K-Line for [%s@%s]",
350           source_p->name, user, host);           get_oper_name(source_p), user, host);
351    }    }
352    else    else
353      sendto_one(source_p, ":%s NOTICE %s :No K-Line for [%s@%s] found",      sendto_one(source_p, ":%s NOTICE %s :No K-Line for [%s@%s] found",
# Line 393  me_unkline(struct Client *client_p, stru Line 393  me_unkline(struct Client *client_p, stru
393                             "%s has removed the K-Line for: [%s@%s]",                             "%s has removed the K-Line for: [%s@%s]",
394                             get_oper_name(source_p), kuser, khost);                             get_oper_name(source_p), kuser, khost);
395        ilog(LOG_TYPE_KLINE, "%s removed K-Line for [%s@%s]",        ilog(LOG_TYPE_KLINE, "%s removed K-Line for [%s@%s]",
396             source_p->name, kuser, khost);             get_oper_name(source_p), kuser, khost);
397      }      }
398      else      else
399        sendto_one(source_p, ":%s NOTICE %s :No K-Line for [%s@%s] found",        sendto_one(source_p, ":%s NOTICE %s :No K-Line for [%s@%s] found",

Legend:
Removed from v.2339  
changed lines
  Added in v.2340

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28