From: Jilles Tjoelker Date: Thu, 29 Jan 2009 22:53:20 +0000 (+0100) Subject: Log unknown class in auth errors to ircd.log as well. X-Git-Tag: charybdis-3.1.0~21 X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/commitdiff_plain/12c4f819fadcc5fac4de0c9f510c02c560ad0f20 Log unknown class in auth errors to ircd.log as well. --- diff --git a/src/s_conf.c b/src/s_conf.c index 430ef20..f578ae2 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -28,6 +28,7 @@ #include "ircd_defs.h" #include "s_conf.h" #include "s_newconf.h" +#include "newconf.h" #include "s_serv.h" #include "s_stats.h" #include "channel.h" @@ -1440,8 +1441,8 @@ conf_add_class_to_conf(struct ConfItem *aconf) { if(aconf->status == CONF_CLIENT) { - sendto_realops_snomask(SNO_GENERAL, L_ALL, - "Warning -- Using default class for missing class \"%s\" in auth{} for %s@%s", + conf_report_error( + "Using default class for missing class \"%s\" in auth{} for %s@%s", aconf->className, aconf->user, aconf->host); }