Mercurial > pidgin.yaz
diff src/module.c @ 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 | 70cb0ce6991a |
| children | 8306c042bac7 |
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,
