summaryrefslogtreecommitdiff
path: root/src/user.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-08-05 00:09:59 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-08-05 00:09:59 +0000
commitb464082f469a0aac03c2798ff27909c9a3dcc149 (patch)
tree36fc08ebc8c255462c7b46f788b35530b977f52f /src/user.py
parent94153c490b3ec2dc029a90d179b3cde335060294 (diff)
downloadpoezio-b464082f469a0aac03c2798ff27909c9a3dcc149.tar.gz
poezio-b464082f469a0aac03c2798ff27909c9a3dcc149.tar.bz2
poezio-b464082f469a0aac03c2798ff27909c9a3dcc149.tar.xz
poezio-b464082f469a0aac03c2798ff27909c9a3dcc149.zip
Our own is ALWAYS white and other nicks are NEVER white. Also reset MAGENTA for information messages
Diffstat (limited to 'src/user.py')
-rw-r--r--src/user.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/user.py b/src/user.py
index ae369de0..c0a55d7b 100644
--- a/src/user.py
+++ b/src/user.py
@@ -29,10 +29,7 @@ class User(object):
self.last_talked = None
self.update(affiliation, show, status, role)
self.change_nick(nick)
- self.color = randrange(2, 10) # assign a random color
- # if randrange(1) == 0:
- # self.color = 16
- # self.color |= curses.A_BOLD
+ self.color = randrange(3, 10) # assign a random color
def update(self, affiliation, show, status, role):
self.affiliation = affiliation