strip @ from @dnsbl
This commit is contained in:
parent
e4ad911511
commit
1f5b7a6f41
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue