From bf702575be0b1b764c830da761725fda6bd218a1 Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 21 Feb 2017 21:49:41 -0800 Subject: [PATCH] servprotect: fix a syntax error --- plugins/servprotect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/servprotect.py b/plugins/servprotect.py index 1700b68..0fd0343 100644 --- a/plugins/servprotect.py +++ b/plugins/servprotect.py @@ -6,7 +6,7 @@ from pylinkirc.log import log # check for definitions servprotect_conf = conf.conf.get('servprotect', {}) -length = servprotect_conf.get('length,' 5) +length = servprotect_conf.get('length', 5) age = servprotect_conf.get('age', 10) savecache = ExpiringDict(max_len=length, max_age_seconds=age)