Mercurial > pidgin.yaz
changeset 4069:5b56c42c2717
[gaim-migrate @ 4281]
Okay okay.. I don't know why it worked on my end, but this should send out
"window closed" notifications for everybody else.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 13 Dec 2002 03:36:33 +0000 |
parents | 29401c9ccc2a |
children | 6efe00ee7de8 |
files | src/protocols/msn/msn.c |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/msn/msn.c Fri Dec 13 01:44:28 2002 +0000 +++ b/src/protocols/msn/msn.c Fri Dec 13 03:36:33 2002 +0000 @@ -2108,8 +2108,15 @@ { struct msn_switchboard *ms = msn_find_switch(gc, who); - if (ms) + if (ms) { + char sendbuf[256]; + + g_snprintf(sendbuf, sizeof(sendbuf), "BYE %s\r\n", gc->username); + + msn_write(ms->fd, sendbuf, strlen(sendbuf)); + msn_kill_switch(ms); + } } static void msn_keepalive(struct gaim_connection *gc)