Mercurial > pidgin
diff src/server.c @ 5170:13ffa9ae4282
[gaim-migrate @ 5534]
This makes the buddy ticker plugin work again, and may cause some slight
breakage in some plugins, since it slightly changes the behavior of:
event_buddy_signon
event_buddy_signoff
event_buddy_away
event_buddy_back
Then again, it's nothing compared to the massive breakage being thought up
for the very near future ;-)
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 18 Apr 2003 21:49:45 +0000 |
parents | 381da05cb5ed |
children | fefad67de2c7 |
line wrap: on
line diff
--- a/src/server.c Fri Apr 18 21:01:38 2003 +0000 +++ b/src/server.c Fri Apr 18 21:49:45 2003 +0000 @@ -882,16 +882,14 @@ if ((b->uc & UC_UNAVAILABLE) && !(type & UC_UNAVAILABLE)) { gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_AWAY_RETURN); - plugin_event(event_buddy_back, gc, b->name); system_log(log_back, gc, b, OPT_LOG_BUDDY_AWAY); } else if (!(b->uc & UC_UNAVAILABLE) && (type & UC_UNAVAILABLE)) { gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_AWAY); - plugin_event(event_buddy_away, gc, b->name); system_log(log_away, gc, b, OPT_LOG_BUDDY_AWAY); } gaim_blist_update_buddy_status(b, type); - + if (loggedin) { if (!GAIM_BUDDY_IS_ONLINE(b)) { @@ -914,7 +912,6 @@ } gaim_sound_play_event(GAIM_SOUND_BUDDY_ARRIVE); gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_SIGNON); - plugin_event(event_buddy_signon, gc, b->name); system_log(log_signon, gc, b, OPT_LOG_BUDDY_SIGNON); } } else { @@ -938,7 +935,6 @@ } gaim_sound_play_event(GAIM_SOUND_BUDDY_LEAVE); gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_SIGNOFF); - plugin_event(event_buddy_signoff, gc, b->name); system_log(log_signoff, gc, b, OPT_LOG_BUDDY_SIGNON); } }