X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fircd_log.c;h=bbc3e363640c837883984211bb8e1009fbc7827f;hb=ce3cf0da7948e0922eb96c622afc5126326d73d7;hp=89ad01fc8934cfc5de28575357f8379d7b7ed11f;hpb=67d2c79c7eeae56def9054b18fff4489de57dc48;p=ircu2.10.12-pk.git diff --git a/ircd/ircd_log.c b/ircd/ircd_log.c index 89ad01f..bbc3e36 100644 --- a/ircd/ircd_log.c +++ b/ircd/ircd_log.c @@ -438,15 +438,16 @@ log_vwrite(enum LogSys subsys, enum LogLevel severity, unsigned int flags, /* log kills for fun and profit */ void log_write_kill(const struct Client *victim, const struct Client *killer, - const char *inpath, const char *path) + const char *inpath, const char *path, const char *msg) { if (MyUser(victim)) log_write(IsServer(killer) ? LS_SERVKILL : LS_OPERKILL, L_TRACE, 0, - "A local client %#C KILLED by %#C Path: %s!%s", - victim, killer, inpath, path); + "A local client %#C KILLED by %#C Path: %s!%s %s", + victim, killer, inpath, path, msg); else log_write(IsServer(killer) ? LS_SERVKILL : LS_OPERKILL, L_TRACE, 0, - "KILL from %C For %C Path: %s!%s", killer, victim, inpath, path); + "KILL from %C For %C Path: %s!%s %s", killer, victim, inpath, + path, msg); } /* return a struct LogFile for a specific filename--reference counted */