Skip to content

Commit

Permalink
Fix CI --autopull
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed Jul 16, 2018
1 parent 5978815 commit a211fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatcommands.py
Expand Up @@ -1114,7 +1114,7 @@ def report(msg, args, alias_used="report"):
:param msg:
:return: A string (or None)
"""
if privileged and not is_privileged(original_msg.owner, original_msg.room) and alias_used != "scan":
if not is_privileged(msg.owner, msg.room) and alias_used != "scan":
raise CmdException(GlobalVars.not_privileged_warning)

crn, wait = can_report_now(msg.owner.id, msg._client.host)
Expand Down

0 comments on commit a211fe7

Please sign in to comment.