diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-06-30 09:56:03 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-06-30 09:56:03 +0000 |
commit | cf88579ec74a90c6dfb1f456800119a757f936b7 (patch) | |
tree | e6c9ba71f3092c3d1dc59d2db361ebb1179ddc91 /src/user.py | |
parent | 39b0075679ebf0a6c9dc2333c8f9bd08bfabbdcf (diff) | |
download | poezio-cf88579ec74a90c6dfb1f456800119a757f936b7.tar.gz poezio-cf88579ec74a90c6dfb1f456800119a757f936b7.tar.bz2 poezio-cf88579ec74a90c6dfb1f456800119a757f936b7.tar.xz poezio-cf88579ec74a90c6dfb1f456800119a757f936b7.zip |
Use louiz for the default nick, fixed #1535
Diffstat (limited to 'src/user.py')
-rw-r--r-- | src/user.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user.py b/src/user.py index 8ec76ba4..da403b51 100644 --- a/src/user.py +++ b/src/user.py @@ -29,7 +29,7 @@ class User(object): self.last_talked = None self.update(affiliation, show, status, role) self.change_nick(nick) - self.color = randrange(2, 10) + self.color = randrange(2, 10) # assign a random color def update(self, affiliation, show, status, role): self.affiliation = affiliation @@ -48,7 +48,7 @@ class User(object): def has_talked_since(self, t): """ - get a int + t: int Return True if the user talked since the last s seconds """ if self.last_talked is None: |