summaryrefslogtreecommitdiff
path: root/chatgroups.py
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2014-07-19 02:32:35 +0200
committerjomo <github@jomo.tv>2014-07-19 02:32:35 +0200
commit18c0ba0b67bccc0d1603c377f0d8446fc8ea3a9a (patch)
tree1b98e5ca61e53e966baca0ef25790408e475b5d7 /chatgroups.py
parent5b1e1ca3831699cc73f6c06287b31ec00d27a798 (diff)
fix re-writing variable
Diffstat (limited to 'chatgroups.py')
-rw-r--r--chatgroups.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/chatgroups.py b/chatgroups.py
index 1129509..21cc4f4 100644
--- a/chatgroups.py
+++ b/chatgroups.py
@@ -32,9 +32,9 @@ def on_chatgroup_command(sender, args):
group = groups[sender_id]
msg(sender, "&aCurrent chatgroup: %s" % group)
users = []
- for uid, ugroup in groups.iteritems():
+ for uuid, ugroup in groups.iteritems():
if ugroup == group:
- usr = server.getPlayer(juuid(uid))
+ usr = server.getPlayer(juuid(uuid))
if usr:
users.append(usr.getDisplayName())
msg(sender, "&aUsers in this group:")