From 5a363c22afe15a33e36708618551d14671ad7900 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 25 Jun 2016 14:25:00 -0700 Subject: [PATCH] conf: remove checks for 'channels' in server: blocks This key is no longer mandatory as of ceed9346c08aa44decf4c60f256b32413199de75. --- conf.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/conf.py b/conf.py index 1a2ee5a..14e280d 100644 --- a/conf.py +++ b/conf.py @@ -23,9 +23,6 @@ def validateConf(conf): 'sid', 'sidrange', 'protocol', 'maxnicklen'): assert serverblock.get(section), "Missing %r in server block for %r." % (section, netname) - assert type(serverblock.get('channels')) == list, "'channels' option in " \ - "server block for %s must be a list, not %s." % (netname, type(serverblock['channels']).__name__) - assert type(conf['login'].get('password')) == type(conf['login'].get('user')) == str and \ conf['login']['password'] != "changeme", "You have not set the login details correctly!"