Skip to content

Commit

Permalink
[url] fix accessing exclude list in setup()
Browse files Browse the repository at this point in the history
  • Loading branch information
lramati committed Nov 21, 2013
1 parent 601539d commit 87f25c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion url.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def setup(bot=None):

if bot.config.has_option('url', 'exclude'):
regexes = [re.compile(s) for s in
bot.config.url.get_list(bot.config.url.exclude)]
bot.config.url.get_list('exclude')]
else:
regexes = []

Expand Down

0 comments on commit 87f25c0

Please sign in to comment.