Skip to content

Commit

Permalink
This redundant backslash gave some backlash...
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-daniels committed Jan 12, 2016
1 parent f3b82e9 commit 1487eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatcommunicate.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def handle_commands(content_lower, message_parts, ev_room, ev_room_name, ev_user
return "Post ignored; alerts about it will no longer be posted."
else:
return None
if (second_part_lower.startswith("delete") or second_part_lower.startswith("remove") or second_part_lower.startswith("gone") or second_part_lower.startswith("poof") or\
if (second_part_lower.startswith("delete") or second_part_lower.startswith("remove") or second_part_lower.startswith("gone") or second_part_lower.startswith("poof") or
second_part_lower == "del") and is_privileged(ev_room, ev_user_id, wrap2):
try:
msg.delete()
Expand Down

0 comments on commit 1487eac

Please sign in to comment.