commit - d29e389779dfeda52cb42e8b8f2cf36c4bd9cd56
commit + f99d33ddd93b41eca3fd113ba5308cffdba58142
blob - 85e42335dabad0ef26bd64daa0eea3930d5b9b7b
blob + 568b9e7a9bb2d068de5a35399af2328799e702bf
--- src/ngircd/conf.c
+++ src/ngircd/conf.c
printf(" MaxConnectionsIP = %d\n", Conf_MaxConnectionsIP);
printf(" MaxJoins = %d\n", Conf_MaxJoins > 0 ? Conf_MaxJoins : -1);
printf(" MaxNickLength = %u\n", Conf_MaxNickLength - 1);
+ printf(" NoticeAuth = %s\n", yesno_to_str(Conf_NoticeAuth));
printf(" CloakHost = %s\n", Conf_CloakHost);
printf(" CloakUserToNick = %s\n\n", yesno_to_str(Conf_CloakUserToNick));
printf(" DNS = %s\n", yesno_to_str(Conf_DNS));
printf(" Ident = %s\n", yesno_to_str(Conf_Ident));
printf(" PAM = %s\n", yesno_to_str(Conf_PAM));
- printf(" NoticeAuth = %s\n", yesno_to_str(Conf_NoticeAuth));
puts("");
opers_puts();
/* Maximum length of a nick name; must be same on all servers
* within the IRC network! */
Conf_MaxNickLength = Handle_MaxNickLength(Line, Arg);
+ return;
+ }
+ if(strcasecmp(Var, "NoticeAuth") == 0) {
+ /* send NOTICE AUTH messages to clients on connect */
+ Conf_NoticeAuth = Check_ArgIsTrue(Arg);
return;
}
WarnPAM(Line);
return;
}
- if(strcasecmp(Var, "NoticeAuth") == 0) {
- /* send NOTICE AUTH messages to clients on connect */
- Conf_NoticeAuth = Check_ArgIsTrue(Arg);
- return;
- }
Config_Error(LOG_ERR,
"%s, line %d (section \"Features\"): Unknown variable \"%s\"!",