1344 |
{ |
{ |
1345 |
conf->class = class_default; |
conf->class = class_default; |
1346 |
|
|
1347 |
if (conf->type == CONF_CLIENT) |
if (conf->type == CONF_CLIENT || conf->type == CONF_OPER) |
1348 |
sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, |
sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, |
1349 |
"Warning *** Defaulting to default class for %s@%s", |
"Warning *** Defaulting to default class for %s@%s", |
1350 |
conf->user, conf->host); |
conf->user, conf->host); |
1358 |
|
|
1359 |
if (conf->class == NULL) |
if (conf->class == NULL) |
1360 |
{ |
{ |
1361 |
if (conf->type == CONF_CLIENT) |
if (conf->type == CONF_CLIENT || conf->type == CONF_OPER) |
1362 |
sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, |
sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, |
1363 |
"Warning *** Defaulting to default class for %s@%s", |
"Warning *** Defaulting to default class for %s@%s", |
1364 |
conf->user, conf->host); |
conf->user, conf->host); |