Skip to content

Commit 1f5b7a6

Browse files
committed
strip @ from @dnsbl
1 parent e4ad911 commit 1f5b7a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/dnsbl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def dnsbl(self, event):
1414
lists = []
1515
for i, arg in reversed(list(enumerate(args))):
1616
if arg[0] == "@":
17-
hostname = args.pop(i)
17+
hostname = args.pop(i)[1:]
1818
if hostname in default_lists:
1919
lists.insert(0, default_lists[hostname])
2020
else:

0 commit comments

Comments
 (0)