Mercurial > pidgin
changeset 2422:e5f76dc2c8d1
[gaim-migrate @ 2435]
pass gc->away in events.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 04 Oct 2001 00:05:18 +0000 |
parents | 95b4ec08abec |
children | ce09589b7681 |
files | src/module.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/module.c Wed Oct 03 20:36:33 2001 +0000 +++ b/src/module.c Thu Oct 04 00:05:18 2001 +0000 @@ -430,9 +430,12 @@ switch (event) { case event_signon: case event_signoff: + g_snprintf(buf, sizeof buf, "%lu", (unsigned long)arg1); + break; case event_away: - case event_back: - g_snprintf(buf, sizeof buf, "%lu", (unsigned long)arg1); + g_snprintf(buf, sizeof buf, "%lu %s", (unsigned long)arg1, + ((struct gaim_connection *)arg1)->away ? + ((struct gaim_connection *)arg1)->away : ""); break; case event_im_recv: g_snprintf(buf, sizeof buf, "%lu \"%s\" %s", (unsigned long)arg1,