The configuration file contains all information required by the hub.

key:       type
HUBNAME    string    name of this hub. This value is sent to incoming client and
                     also used while registring hub to DChublist.

HUBADDR    string    This value is only used while registring hub to DChublist.
                     If empty, the hub will use host default address else it
                     uses this value. It can be either an IP or a FQDN.

HUBPORT    int       This value is the port used to connect to the hub. If the
                     hub is registered on DChublist, this value is automatically
                     appended to the HUBADDR string.

HUBDESC    string    This value is only used while registring hub to DChublist.
                     This value can be empty or not.

REG_HUB    int       if ==0, the hub is not register on DChublist. If !=0, the
                     hub is registered to the DChublist.

REG_SERV   string    You should not change this value. It is the address of the
                     DChublist server (vandel405.dynip.com).

MAXUSER    int       Maximum number of users accepted on the hub.

REDIR_FULL int       if ==0, when the hub is full, incoming users are disconnec-
                     ted. If !=0 and REDIR_ADDR is not empty, incoming users are
                     redirected to REDIR_ADDR.

REDIR_ADDR string    address of a hub to redirect users to when the hub is full.

ONLY_REG   int       if ==1, only registered users are accepted. if ==0, all
                     users can come in.

MHUBPASS   string    it is the password used by multihub functions.

MHUBLIST   string    it is the list of all linked hubs. String format is:
                     hubaddr:hubport[$hubaddr:hubport......]

WELCOME    string    if exists and not empty, this value is a message sent as 
                     private message when a user logs in.

MIN_SHARE  string    minimum share size (in bytes). Used by the default
                     dchub_myinfo_handler.pl script. This is not an error, it is
                     really a string.

MULTICHAT  int       if not exists, multi-user chat creation is disabled.
                     if ==0, it is disabled for everyone.
                     if ==1, multi-user chat creation is only allowed for Master
                             and op.
                     if ==2, creation is possible for everyone.
                     NOTE: this only affect multi-chat creation, a normal user
                     can still be invited by someone of the chat. Thus, ==1 is
                     probably a good value because, only master/op can initiate
                     a new chat but normal user can be invited by them.

PUBCHAT  int         exacly like MULTICHAT but for public chat.

KICKTEMPBAN int      if not exists or is ==0, when a user is kicked, he is not
                     automatically banned. if exists and !=0, the user is kicked
                     and banned for KICKTEMPBAN minutes.

HUB_MAX     int      for dc++ client only: it is the number of hubs that a user
                     can be at the same time.

SLOT_MIN    int      for dc++ client only: it is the min slots/hub that a user 
                     must have.

MIN_SR_INTERVAL int  set minimal interval beetwen 2 search.

SPAM_SILENT_LIMIT int first chat spam limit. if a user sends more than 
                     SPAM_SILENT_LIMIT Private messages or public chat
                     messages at more than 1 msg/sec, he won't be able to
                     talk anymore.

SPAM_KICK_LIMIT int  beyond this limit the user gets disconnect. 

LOCK_PATTERN string  this option allows you to deny access to the username
                     matching with the reg exp contained in this variable.
                     DC protocol does not allow you to use the '|' in the
                     regular expression. Then substitute the '|' by ''
                     ex: if you want to deny access to users having a nickname
                     containing foo and all the ones starting by # use the
                     following pattern:
                     foo^# man regex(7) for more information.
                     If the key is not defined, all nicknames are allowed.

          
