diff options
author | jomo <github@jomo.tv> | 2014-06-21 01:18:00 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2014-06-21 01:18:00 +0200 |
commit | 68018d9c2a3ecff4cf042aa24ef55ee8588c152f (patch) | |
tree | fe25a47c91018b7ee5da88753e01371fcaa9be3d /mentio.py | |
parent | a63a28a2c4891f93fdd21955fa8b7524dd8fb3c9 (diff) |
copying recipients before iterating
Diffstat (limited to 'mentio.py')
-rw-r--r-- | mentio.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ def onChat(event): words = event.getMessage().split(" ") recipients = event.getRecipients() - for recipient in recipients: + for recipient in recipients[:]: rec_words = words[:] # copy for i in range(len(rec_words)): word = rec_words[i] |