changeset 8904:9a25d7f66d9c

[gaim-migrate @ 9673] 0 signon buddies don't get adjusted committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 08 May 2004 14:28:10 +0000
parents 4ffbbe330ee5
children 438e8d857554
files src/server.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/server.c	Sat May 08 07:20:31 2004 +0000
+++ b/src/server.c	Sat May 08 14:28:10 2004 +0000
@@ -1264,7 +1264,7 @@
 		}
 	}
 
-	if (gc->login_time_official && gc->login_time)
+	if (gc->login_time_official && gc->login_time && signon > 0)
 		signon += gc->login_time_official - gc->login_time;
 	gaim_blist_update_buddy_signon(b, signon);
 	gaim_blist_update_buddy_idle(b, idle);