* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
- * $Id: m_set.c 3161 2007-01-25 07:23:01Z nenolod $
+ * $Id: m_set.c 3406 2007-04-13 19:06:53Z jilles $
*/
/* rewritten by jdc */
};
mapi_clist_av1 set_clist[] = { &set_msgtab, NULL };
-DECLARE_MODULE_AV1(set, NULL, NULL, set_clist, NULL, NULL, "$Revision: 3161 $");
+DECLARE_MODULE_AV1(set, NULL, NULL, set_clist, NULL, NULL, "$Revision: 3406 $");
/* Structure used for the SET table itself */
struct SetStruct
{
if(newval > 0)
{
- if(newval > MASTER_MAX)
+ if(newval > ServerInfo.max_clients)
{
- sendto_one_notice(source_p, ":You cannot set MAXCLIENTS to > MASTER_MAX (%d)",
- MASTER_MAX);
+ sendto_one_notice(source_p,
+ ":You cannot set MAXCLIENTS to > max_clients (%d)",
+ ServerInfo.max_clients);
return;
}