# HG changeset patch # User Christian Hammond # Date 1039750593 0 # Node ID 5b56c42c2717c0e770bde49c9af0c9b357648f29 # Parent 29401c9ccc2aa3a0e2efab761a0116f64c72a6a2 [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 diff -r 29401c9ccc2a -r 5b56c42c2717 src/protocols/msn/msn.c --- 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)