# HG changeset patch # User Rob Flynn # Date 992332917 0 # Node ID ae11844fa2b1d950d8ae5dc9498cf94882f39571 # Parent 591ebfe8ec00e6fc1acfa901936e7371766d2348 [gaim-migrate @ 2010] event_back wasn't gettin called when you return from away. committer: Tailor Script diff -r 591ebfe8ec00 -r ae11844fa2b1 src/server.c --- a/src/server.c Tue Jun 12 07:57:27 2001 +0000 +++ b/src/server.c Tue Jun 12 08:01:57 2001 +0000 @@ -177,7 +177,11 @@ } (*gc->prpl->set_away)(gc, state, buf); - plugin_event(event_away, gc, state, buf, 0); + + if (message) + plugin_event(event_away, gc, state, buf, 0); + else + plugin_event(event_back, gc, state, buf, 0); if(buf) g_free(buf);