/[svn]/ircd-hybrid/branches/8.1.x/modules/m_xline.c
ViewVC logotype

Diff of /ircd-hybrid/branches/8.1.x/modules/m_xline.c

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

revision 2336 by michael, Sun May 26 11:12:44 2013 UTC revision 2337 by michael, Wed Jul 3 13:00:46 2013 UTC
# Line 340  write_xline(struct Client *source_p, cha Line 340  write_xline(struct Client *source_p, cha
340      sendto_one(source_p, ":%s NOTICE %s :Added temporary %d min. X-Line [%s]",      sendto_one(source_p, ":%s NOTICE %s :Added temporary %d min. X-Line [%s]",
341                 MyConnect(source_p) ? me.name : ID_or_name(&me, source_p->from),                 MyConnect(source_p) ? me.name : ID_or_name(&me, source_p->from),
342                 source_p->name, (int)tkline_time/60, conf->name);                 source_p->name, (int)tkline_time/60, conf->name);
343      ilog(LOG_TYPE_KLINE, "%s added temporary %d min. X-Line for [%s] [%s]",      ilog(LOG_TYPE_XLINE, "%s added temporary %d min. X-Line for [%s] [%s]",
344           source_p->name, (int)tkline_time/60,           source_p->name, (int)tkline_time/60,
345           conf->name, conf->reason);           conf->name, conf->reason);
346      conf->until = CurrentTime + tkline_time;      conf->until = CurrentTime + tkline_time;
# Line 355  write_xline(struct Client *source_p, cha Line 355  write_xline(struct Client *source_p, cha
355                 ":%s NOTICE %s :Added X-Line [%s] [%s]",                 ":%s NOTICE %s :Added X-Line [%s] [%s]",
356                 MyConnect(source_p) ? me.name : ID_or_name(&me, source_p->from),                 MyConnect(source_p) ? me.name : ID_or_name(&me, source_p->from),
357                 source_p->name, conf->name, conf->reason);                 source_p->name, conf->name, conf->reason);
358      ilog(LOG_TYPE_IRCD, "%s added X-Line for [%s] [%s]",      ilog(LOG_TYPE_XLINE, "%s added X-Line for [%s] [%s]",
359           get_oper_name(source_p), conf->name, conf->reason);           get_oper_name(source_p), conf->name, conf->reason);
360    }    }
361    
# Line 373  remove_xline(struct Client *source_p, ch Line 373  remove_xline(struct Client *source_p, ch
373      sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,      sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
374                           "%s has removed the X-Line for: [%s]",                           "%s has removed the X-Line for: [%s]",
375                           get_oper_name(source_p), gecos);                           get_oper_name(source_p), gecos);
376      ilog(LOG_TYPE_KLINE, "%s removed X-Line for [%s]",      ilog(LOG_TYPE_XLINE, "%s removed X-Line for [%s]",
377           source_p->name, gecos);           source_p->name, gecos);
378    }    }
379    else    else

Legend:
Removed from v.2336  
changed lines
  Added in v.2337

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