Minor features for parity with murmur.ini

MaxUsers: modifies existing sessionpool similar to Murmur
MaxUsersPerChannel: already implemented, inconsistent name
AllowPing: affects registration, too
DefaultChannel
RememberChannel
ServerPassword
SendOSInfo: already implemented, inconsistent name

Config keys are renamed to conform to murmur.ini
This commit is contained in:
rubenseyer 2018-02-14 20:50:09 +01:00
parent 693dd6f4e8
commit ae41a612ba
12 changed files with 241 additions and 109 deletions

View file

@ -26,7 +26,7 @@ func TestFloatAsInt(t *testing.T) {
func TestDefaultValue(t *testing.T) {
cfg := New(nil, nil)
if cfg.IntValue("MaxBandwidth") != 72000 {
if cfg.IntValue("bandwidth") != 72000 {
t.Errorf("Expected 72000")
}
}