Skip to content

Commit

Permalink
Remove duplicate !!/report URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-daniels committed Dec 18, 2015
1 parent 816375a commit d39b521
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 @@ -321,7 +321,7 @@ def handle_commands(content_lower, message_parts, ev_room, ev_room_name, ev_user
return False, "Not enough arguments."
output = []
index = 0
urls = message_parts[1:]
urls = list(set(message_parts[1:]))
if len(urls) > 5:
return False, "To avoid that SmokeDetector reports posts too slowly, " \
"you can report maximally 5 posts at a time. " \
Expand Down

0 comments on commit d39b521

Please sign in to comment.