+ if( strcasecmp( Var, "MaxJoins" ) == 0 )
+ {
+ /* Maximum number of channels a user can join. Values <= 0 are equal to "no limit". */
+#ifdef HAVE_ISDIGIT
+ if( ! isdigit( *Arg )) Config_Error( LOG_WARNING, "%s, line %d: Value of \"MaxJoins\" is not a number!", NGIRCd_ConfFile, Line );
+ else
+#endif
+ Conf_MaxJoins = atoi( Arg );
+ return;
+ }
+ if( strcasecmp( Var, "MaxPChannels" ) == 0 )
+ {
+ /* Maximum number of persistent channels in the network. Values <= 0 are equal to "no limit". */
+#ifdef HAVE_ISDIGIT
+ if( ! isdigit( *Arg )) Config_Error( LOG_WARNING, "%s, line %d: Value of \"MaxPChannels\" is not a number!", NGIRCd_ConfFile, Line );
+ else
+#endif
+ Conf_MaxPChannels = atoi( Arg );
+ return;
+ }
+