summaryrefslogtreecommitdiff
path: root/src/user.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-06-13 01:50:28 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-06-13 01:50:28 +0000
commit9456f7fc35538f98414eeac8e11745672317692c (patch)
tree740eaeaa066efe6e5cea869a3760f0876b8071a2 /src/user.py
parentd03ce7e869efdec9efed855a73539b33027a52c8 (diff)
downloadpoezio-9456f7fc35538f98414eeac8e11745672317692c.tar.gz
poezio-9456f7fc35538f98414eeac8e11745672317692c.tar.bz2
poezio-9456f7fc35538f98414eeac8e11745672317692c.tar.xz
poezio-9456f7fc35538f98414eeac8e11745672317692c.zip
show only what has really changed, in the change-status-messages. fixed #1473
Diffstat (limited to 'src/user.py')
-rw-r--r--src/user.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/user.py b/src/user.py
index 6dc87c73..6f0f3328 100644
--- a/src/user.py
+++ b/src/user.py
@@ -52,14 +52,10 @@ class User(object):
Return True if the user talked since the last s seconds
"""
from common import debug
- debug('anus===========\n')
if self.last_talked is None:
- debug('return False1\n')
return False
delta = timedelta(0, t)
debug("Last talk: %s\nDelai:%s\nDelta:%s\n" % (str(self.last_talked), str(t), str(delta)))
if datetime.now() - delta > self.last_talked:
- debug('return False2\n')
return False
- debug('return True')
return True