Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@patrick-irc
Copy link
Member

  • Added two new mandatory fields for split servers and split users to M-Line (original code from mh)
  • Removed SET SPLIT
  • Removed DEFAULT_SPLIT_USERS and DEFAULT_SPLIT_SERVERS
######################################################################

confsplit - SS/SU values in ircd.conf

######################################################################

This patch adds split-servers and split-users to ircd.conf to change
values without recompiling the ircd.

Two new MANDATORY fields have been added to the M-line after the SID:

 M:<Server NAME>:<YOUR Internet IP#>:<Geographic Location>:<Port>
  :<SID>:<SS>:<SU>:

These values will be applied on server startup and on /REHASH.
Note that they will still respect the minimum limits set in
config.h defines SPLIT_SERVERS and SPLIT_USERS.

example:

 M:irc.example.net:127.0.0.1:Example server:6667:0PNX:10:10000:

 Will set the split-servers (SS) current value to 10 servers minimum
 and split-users (SU) current value to 10000 users minimum, then do
 a check for split-mode.

######################################################################

@patrick-irc patrick-irc merged commit d7004f4 into master Sep 24, 2024
@patrick-irc patrick-irc deleted the conf_split branch October 3, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants