summaryrefslogtreecommitdiff
path: root/src/user.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-02 00:26:37 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-02 00:26:37 +0000
commit85d9e693ea4bf5b2ff4f1a24ec0ebbf14d747800 (patch)
tree47f5034f6ad28c2c3919c1f955ac43908dcad5b3 /src/user.py
parente84b23d1ad7dcb3afa3754ff3b1c1eca27a90548 (diff)
downloadpoezio-85d9e693ea4bf5b2ff4f1a24ec0ebbf14d747800.tar.gz
poezio-85d9e693ea4bf5b2ff4f1a24ec0ebbf14d747800.tar.bz2
poezio-85d9e693ea4bf5b2ff4f1a24ec0ebbf14d747800.tar.xz
poezio-85d9e693ea4bf5b2ff4f1a24ec0ebbf14d747800.zip
fixes double status announce
Diffstat (limited to 'src/user.py')
-rw-r--r--src/user.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/user.py b/src/user.py
index 2959a76c..646d8bd1 100644
--- a/src/user.py
+++ b/src/user.py
@@ -27,6 +27,8 @@ class User(object):
keep trace of an user in a Room
"""
def __init__(self, nick, affiliation, show, status, role):
+ from common import debug
+ debug('NEW USER: nick:%s, affiliation:%s, show:%s, status:%s, role:%s\n' % (nick, affiliation, show, status, role))
self.last_talked = None
self.update(affiliation, show, status, role)
self.change_nick(nick)