- if(newval > ServerInfo.max_clients)
- {
- sendto_one_notice(source_p,
- ":You cannot set MAXCLIENTS to > max_clients (%d)",
- ServerInfo.max_clients);
- return;
+ if(newval > maxconnections - MAX_BUFFER)\r
+ {\r
+ sendto_one_notice(source_p,\r
+ ":You cannot set MAXCLIENTS to > %d",\r
+ maxconnections - MAX_BUFFER);\r
+ return;\r