Skip to content

Commit

Permalink
you missed one
Browse files Browse the repository at this point in the history
  • Loading branch information
Undo1 committed Oct 19, 2014
1 parent 74631d0 commit e6dc846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ws.py
Expand Up @@ -213,7 +213,7 @@ def watcher(ev,wrap2):
msg_to_delete.delete()
except:
pass # couldn't delete message
if((lower(message_parts[1]) == "true" or lower(message_parts[1]) == "tp") and isPrivileged(ev_room, ev_user_id)):
if((message_parts[1].lower() == "true" or message_parts[1].lower() == "tp") and isPrivileged(ev_room, ev_user_id)):
try:
msg_id = int(message_parts[0][1:])
msg_content = None
Expand Down

0 comments on commit e6dc846

Please sign in to comment.