X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fconf.h;h=900338dd0124e3d8f36a5b9dfa8bca39c45a81a0;hb=decf98d5efce97f1abfbd125a9aae92a2e94b89f;hp=0d5c56695c8f896c4e442bb96e76759dc118c2d3;hpb=d118cd74b6ff342b978b493d56f9306028e364cf;p=ngircd-alex.git diff --git a/src/ngircd/conf.h b/src/ngircd/conf.h index 0d5c5669..900338dd 100644 --- a/src/ngircd/conf.h +++ b/src/ngircd/conf.h @@ -29,7 +29,7 @@ /** * Configured IRC operator. - * Please note the the name of the IRC operaor and his nick have nothing to + * Please note that the name of the IRC operaor and his nick have nothing to * do with each other! The IRC operator is only identified by the name and * password configured in this structure. */ @@ -83,7 +83,7 @@ struct SSLOptions { /** Pre-defined channels */ struct Conf_Channel { char name[CHANNEL_NAME_LEN]; /**< Name of the channel */ - char modes[CHANNEL_MODE_LEN]; /**< Initial channel modes */ + char modes[COMMAND_LEN]; /**< Initial channel modes to evaluate */ char key[CLIENT_PASS_LEN]; /**< Channel key ("password", mode "k" ) */ char topic[COMMAND_LEN]; /**< Initial topic */ char keyfile[512]; /**< Path and name of channel key file */ @@ -195,7 +195,7 @@ GLOBAL bool Conf_Ident; GLOBAL bool Conf_MorePrivacy; /** Enable "NOTICE *" messages on connect */ -GLOBAL bool Conf_NoticeAuth; +GLOBAL bool Conf_NoticeBeforeRegistration; /** Enable all usage of PAM, even when compiled with support for it */ GLOBAL bool Conf_PAM; @@ -203,6 +203,9 @@ GLOBAL bool Conf_PAM; /** Don't require all clients to send a password an to be PAM authenticated */ GLOBAL bool Conf_PAMIsOptional; +/** The service name to use for PAM */ +GLOBAL char Conf_PAMServiceName[MAX_PAM_SERVICE_NAME_LEN]; + /** Disable all CTCP commands except for /me ? */ GLOBAL bool Conf_ScrubCTCP; @@ -236,6 +239,9 @@ GLOBAL unsigned int Conf_MaxNickLength; /** Maximum number of channels returned to /list */ GLOBAL int Conf_MaxListSize; +/** Maximium seconds to add per "penalty". -1 = unlimited. */ +GLOBAL time_t Conf_MaxPenaltyTime; + #ifndef STRICT_RFC /** Require "AUTH PING-PONG" on login */