mirror of
https://github.com/matrix-construct/construct
synced 2024-11-18 07:50:57 +01:00
Log unknown class in auth errors to ircd.log as well.
This commit is contained in:
parent
975c61928a
commit
8b801ad161
1 changed files with 3 additions and 2 deletions
|
@ -28,6 +28,7 @@
|
||||||
#include "ircd_defs.h"
|
#include "ircd_defs.h"
|
||||||
#include "s_conf.h"
|
#include "s_conf.h"
|
||||||
#include "s_newconf.h"
|
#include "s_newconf.h"
|
||||||
|
#include "newconf.h"
|
||||||
#include "s_serv.h"
|
#include "s_serv.h"
|
||||||
#include "s_stats.h"
|
#include "s_stats.h"
|
||||||
#include "channel.h"
|
#include "channel.h"
|
||||||
|
@ -1440,8 +1441,8 @@ conf_add_class_to_conf(struct ConfItem *aconf)
|
||||||
{
|
{
|
||||||
if(aconf->status == CONF_CLIENT)
|
if(aconf->status == CONF_CLIENT)
|
||||||
{
|
{
|
||||||
sendto_realops_snomask(SNO_GENERAL, L_ALL,
|
conf_report_error(
|
||||||
"Warning -- Using default class for missing class \"%s\" in auth{} for %s@%s",
|
"Using default class for missing class \"%s\" in auth{} for %s@%s",
|
||||||
aconf->className, aconf->user, aconf->host);
|
aconf->className, aconf->user, aconf->host);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue