comparison src/server.c @ 5790:995e63fb1a5a

[gaim-migrate @ 6215] Reverting this. It just breaks things. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 07 Jun 2003 05:52:31 +0000
parents f8bee920b14e
children dbed8c87f750
comparison
equal deleted inserted replaced
5789:d42d2c9c2122 5790:995e63fb1a5a
1062 if (strcmp(name, b->name)) { 1062 if (strcmp(name, b->name)) {
1063 gaim_blist_rename_buddy(b, name); 1063 gaim_blist_rename_buddy(b, name);
1064 gaim_blist_save(); 1064 gaim_blist_save();
1065 } 1065 }
1066 1066
1067 gaim_blist_update_buddy_idle(b, idle);
1068
1069 if (!b->idle && idle) { 1067 if (!b->idle && idle) {
1070 gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_IDLE); 1068 gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_IDLE);
1071 gaim_event_broadcast(event_buddy_idle, gc, b->name); 1069 gaim_event_broadcast(event_buddy_idle, gc, b->name);
1072 system_log(log_idle, gc, b, OPT_LOG_BUDDY_IDLE); 1070 system_log(log_idle, gc, b, OPT_LOG_BUDDY_IDLE);
1073 } 1071 }
1075 gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_IDLE_RETURN); 1073 gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_IDLE_RETURN);
1076 gaim_event_broadcast(event_buddy_unidle, gc, b->name); 1074 gaim_event_broadcast(event_buddy_unidle, gc, b->name);
1077 system_log(log_unidle, gc, b, OPT_LOG_BUDDY_IDLE); 1075 system_log(log_unidle, gc, b, OPT_LOG_BUDDY_IDLE);
1078 } 1076 }
1079 1077
1078 gaim_blist_update_buddy_idle(b, idle);
1080 gaim_blist_update_buddy_evil(b, evil); 1079 gaim_blist_update_buddy_evil(b, evil);
1081 1080
1082 if ((b->uc & UC_UNAVAILABLE) && !(type & UC_UNAVAILABLE)) { 1081 if ((b->uc & UC_UNAVAILABLE) && !(type & UC_UNAVAILABLE)) {
1083 gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_AWAY_RETURN); 1082 gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_AWAY_RETURN);
1084 system_log(log_back, gc, b, OPT_LOG_BUDDY_AWAY); 1083 system_log(log_back, gc, b, OPT_LOG_BUDDY_AWAY);