From a95e703b36265f412eec591fa97eaf122b35a625 Mon Sep 17 00:00:00 2001 From: Blair Bonnett Date: Tue, 14 Aug 2012 11:35:50 +1200 Subject: [PATCH] Documentation update for reserved SIDs. --- doc/uhub.conf | 7 +++++++ src/core/config.xml | 3 +++ 2 files changed, 10 insertions(+) diff --git a/doc/uhub.conf b/doc/uhub.conf index d379b0c..b6430c4 100644 --- a/doc/uhub.conf +++ b/doc/uhub.conf @@ -28,6 +28,13 @@ show_banner_sys_info=1 # Allow only registered users on the hub if set to 1. registered_users_only=0 +# Reserve SIDs for certain users. These users must have a registered account. +# CHANGES TO THIS VALUE WILL NOT BE NOTICED BY A CONFIGURATION RELOAD, YOU +# MUST RESTART THE HUB FOR THEM TO TAKE EFFECT. +# +# QuoteBot = AAAB, StatBot = AAAC +# reserved_sids=QuoteBot StatBot + # A server name and description. hub_name=my hub hub_description=Powered by uHub diff --git a/src/core/config.xml b/src/core/config.xml index da0528b..11b2635 100644 --- a/src/core/config.xml +++ b/src/core/config.xml @@ -127,6 +127,9 @@

Each nickname in the list must be separated by a space. The SID AAAA is reserved for the hub itself. The first nickname in the list will be aliased to AAAB, the second to AAAC and so on. Fixed SIDs can only be allocated to registered users - if somebody without a password logs in under a reserved nickname, the alias will not be applied (but they can still log in). Also, they are only checked when a private message is sent, so any other messages to/from the aliased SID will be dropped as an unknown user per the ADC protocol.

+

+ As these SIDs are reserved when the hub starts up, any change to the values are ignored when the configuration is reloaded. You have to restart the hub for the changes to take effect. +

]]>