Mercurial > pidgin.yaz
changeset 2000:ae11844fa2b1
[gaim-migrate @ 2010]
event_back wasn't gettin called when you return from away.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Tue, 12 Jun 2001 08:01:57 +0000 |
parents | 591ebfe8ec00 |
children | 9187e83c8b03 |
files | src/server.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);