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

Comparing ircd-hybrid-8/src/csvlib.c (file contents):
Revision 1246 by michael, Tue Aug 9 20:29:20 2011 UTC vs.
Revision 1247 by michael, Sat Oct 1 07:54:24 2011 UTC

# Line 288 | Line 288 | write_conf_line(struct Client *source_p,
288                           aconf->user, aconf->host, aconf->reason);
289      sendto_one(source_p, ":%s NOTICE %s :Added K-Line [%s@%s]",
290                 from, to, aconf->user, aconf->host);
291 <    ilog(L_TRACE, "%s added K-Line for [%s@%s] [%s]",
291 >    ilog(LOG_TYPE_KLINE, "%s added K-Line for [%s@%s] [%s]",
292           source_p->name, aconf->user, aconf->host, aconf->reason);
293    log_oper_action(LOG_KLINE_TYPE, source_p, "[%s@%s] [%s]\n",
294                    aconf->user, aconf->host, aconf->reason);
293      write_csv_line(out, "%s%s%s%s%s%s%d",
294                     aconf->user, aconf->host,
295                     aconf->reason, aconf->oper_reason, current_date,
# Line 306 | Line 304 | write_conf_line(struct Client *source_p,
304                           aconf->user, aconf->host, aconf->reason);
305      sendto_one(source_p, ":%s NOTICE %s :Added RK-Line [%s@%s]",
306                 from, to, aconf->user, aconf->host);
307 <    ilog(L_TRACE, "%s added K-Line for [%s@%s] [%s]",
307 >    ilog(LOG_TYPE_IRCD, "%s added K-Line for [%s@%s] [%s]",
308           source_p->name, aconf->user, aconf->host, aconf->reason);
309 <    log_oper_action(LOG_RKLINE_TYPE, source_p, "[%s@%s] [%s]\n",
312 <                    aconf->user, aconf->host, aconf->reason);
309 >
310      write_csv_line(out, "%s%s%s%s%s%s%d",
311                     aconf->user, aconf->host,
312                     aconf->reason, aconf->oper_reason, current_date,
# Line 323 | Line 320 | write_conf_line(struct Client *source_p,
320                           get_oper_name(source_p), aconf->host, aconf->reason);
321      sendto_one(source_p, ":%s NOTICE %s :Added D-Line [%s] to %s",
322                 from, to, aconf->host, filename);
323 <    ilog(L_TRACE, "%s added D-Line for [%s] [%s]",
323 >    ilog(LOG_TYPE_DLINE, "%s added D-Line for [%s] [%s]",
324           get_oper_name(source_p), aconf->host, aconf->reason);
328    log_oper_action(LOG_DLINE_TYPE, source_p, "[%s] [%s]\n",
329                    aconf->host, aconf->reason);
325      write_csv_line(out, "%s%s%s%s%s%d",
326                     aconf->host, aconf->reason, aconf->oper_reason,
327                     current_date,
# Line 343 | Line 338 | write_conf_line(struct Client *source_p,
338                 ":%s NOTICE %s :Added X-Line [%s] [%d] [%s] to %s",
339                 from, to, conf->name,
340                 xconf->action, xconf->reason, filename);
341 <    ilog(L_TRACE, "%s added X-Line for [%s] [%s]",
341 >    ilog(LOG_TYPE_IRCD, "%s added X-Line for [%s] [%s]",
342           get_oper_name(source_p), conf->name, xconf->reason);
343      write_csv_line(out, "%s%s%s%s%s%d",
344                     conf->name, xconf->reason, xconf->oper_reason,
# Line 360 | Line 355 | write_conf_line(struct Client *source_p,
355                 ":%s NOTICE %s :Added RX-Line [%s] [%s] to %s",
356                 from, to, conf->name,
357                 xconf->reason, filename);
358 <    ilog(L_TRACE, "%s added X-Line for [%s] [%s]",
358 >    ilog(LOG_TYPE_IRCD, "%s added X-Line for [%s] [%s]",
359           get_oper_name(source_p), conf->name, xconf->reason);
360      write_csv_line(out, "%s%s%s%s%s%d",
361                     conf->name, xconf->reason, xconf->oper_reason,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines