strip @ from @dnsbl

This commit is contained in:
jesopo 2020-08-07 16:42:28 +00:00
parent e4ad911511
commit 1f5b7a6f41

View file

@ -14,7 +14,7 @@ class Module(ModuleManager.BaseModule):
lists = [] lists = []
for i, arg in reversed(list(enumerate(args))): for i, arg in reversed(list(enumerate(args))):
if arg[0] == "@": if arg[0] == "@":
hostname = args.pop(i) hostname = args.pop(i)[1:]
if hostname in default_lists: if hostname in default_lists:
lists.insert(0, default_lists[hostname]) lists.insert(0, default_lists[hostname])
else: else: