diff src/protocols/msn/msn.c @ 2231:8c4ff1a368bd

[gaim-migrate @ 2241] blue:~/gaim/app/src/protocols $ ./gtk icq: 0 irc: 0 jabber: 52 msn: 0 napster: 0 oscar: 7 toc: 17 yahoo: 0 zephyr: 1 committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 07 Sep 2001 08:09:22 +0000
parents cfc9abe45db2
children 2f03cfd21fc2
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Fri Sep 07 07:30:28 2001 +0000
+++ b/src/protocols/msn/msn.c	Fri Sep 07 08:09:22 2001 +0000
@@ -1173,7 +1173,7 @@
 	g_free(md);
 }
 
-static int msn_send_im(struct gaim_connection *gc, char *who, char *message, int away)
+static int msn_send_im(struct gaim_connection *gc, char *who, char *message, int flags)
 {
 	struct msn_data *md = gc->proto_data;
 	struct msn_switchboard *ms = msn_find_switch(gc, who);
@@ -1204,7 +1204,7 @@
 		ms->fd = -1;
 	} else
 		/* in msn you can't send messages to yourself, so we'll fake like we received it ;) */
-		serv_got_im(gc, who, message, away, time(NULL));
+		serv_got_im(gc, who, message, flags & IM_FLAG_AWAY, time(NULL));
 	return 0;
 }