From: Eric W. <war...@us...> - 2001-10-04 00:05:21
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv29339 Modified Files: module.c Log Message: pass gc->away in events. Index: module.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/module.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- module.c 2001/10/03 03:11:37 1.3 +++ module.c 2001/10/04 00:05:18 1.4 @@ -430,9 +430,12 @@ switch (event) { case event_signon: case event_signoff: - case event_away: - case event_back: g_snprintf(buf, sizeof buf, "%lu", (unsigned long)arg1); + break; + case event_away: + 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, |