From d03ce7e869efdec9efed855a73539b33027a52c8 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Sun, 13 Jun 2010 01:30:06 +0000 Subject: fix the hide_join_exit and hide_status_change options not working, also don't send the vcard if we are not using anonymous auth --- src/user.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/user.py') diff --git a/src/user.py b/src/user.py index 6f0f3328..6dc87c73 100644 --- a/src/user.py +++ b/src/user.py @@ -52,10 +52,14 @@ 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 -- cgit v1.2.3