summaryrefslogtreecommitdiff
path: root/src/user.py
diff options
context:
space:
mode:
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