diff --git a/conf.py b/conf.py index 49f2dd7..db768f6 100644 --- a/conf.py +++ b/conf.py @@ -86,7 +86,6 @@ def validateConf(conf, logger=None): if newlogins: validate(conf.get('permissions'), "New-style accounts enabled but no permissions block was found. You will not be able to administrate your PyLink instance!") - return conf diff --git a/example-conf.yml b/example-conf.yml index 9323ec5..c42206c 100644 --- a/example-conf.yml +++ b/example-conf.yml @@ -571,16 +571,12 @@ relay: #clientbot_modesync: none #servprotect: - # This block configures the servprotect plugin. - # You don't need this if you aren't using it. - - # length: How many KILL/SAVE's before a disconnect + # This block configures the servprotect plugin; you don't need this if you aren't using it. + # length: How many KILL/SAVE's before a disconnect? #length: 5 - # time: Determines how much time should pass before - # the servprotect cache is reset. - + # max_age: Determines how much time should pass before the servprotect cache is reset. #max_age: 10