Skip to content

Commit

Permalink
Merge pull request fedora-infra#40 from fedora-infra/feature/bugfix
Browse files Browse the repository at this point in the history
Order of operations matters.
  • Loading branch information
ralphbean committed Feb 21, 2015
2 parents 1c2edd6 + bb4e4d4 commit 219f0c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fmn/rules/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def not_user_filter(config, message, fasnick=None, *args, **kw):
if not fasnick:
return False

fasnick = fasnick or [] and fasnick.split(',')
fasnick = (fasnick or []) and fasnick.split(',')
valid = True
for nick in fasnick:
if nick.strip() in fedmsg.meta.msg2usernames(message, **config):
Expand Down

0 comments on commit 219f0c5

Please sign in to comment.