mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-21 18:41:56 -08:00
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:
parent
693dd6f4e8
commit
ae41a612ba
12 changed files with 241 additions and 109 deletions
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue