Mercurial > pidgin
comparison src/protocols/msn/msn.c @ 7563:cb9c3b6d6de9
[gaim-migrate @ 8179]
Fixed unblocking of users in MSN (Thanks Robert Mibus)
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 19 Nov 2003 00:33:01 +0000 |
parents | 603a58cd23dc |
children | 3a48ade4f510 |
comparison
equal
deleted
inserted
replaced
7562:b859cfb5f31a | 7563:cb9c3b6d6de9 |
---|---|
846 MsnSession *session = gc->proto_data; | 846 MsnSession *session = gc->proto_data; |
847 char buf[MSN_BUF_LEN]; | 847 char buf[MSN_BUF_LEN]; |
848 | 848 |
849 g_snprintf(buf, sizeof(buf), "BL %s", who); | 849 g_snprintf(buf, sizeof(buf), "BL %s", who); |
850 | 850 |
851 if (!msn_servconn_send_command(session->notification_conn, "REM", buf)) { | 851 if (!msn_servconn_send_command(session->notification_conn, "REM", buf)) |
852 { | |
852 gaim_connection_error(gc, _("Write error")); | 853 gaim_connection_error(gc, _("Write error")); |
853 return; | 854 return; |
854 } | 855 } |
855 | 856 |
856 gaim_privacy_permit_add(gc->account, who, TRUE); | 857 gaim_privacy_permit_add(gc->account, who, TRUE); |
858 | |
859 g_snprintf(buf, sizeof(buf), "AL %s", who); | |
860 | |
861 if (!msn_servconn_send_command(session->notification_conn, "ADD", buf)) | |
862 { | |
863 gaim_connection_error(gc, _("Write error")); | |
864 return; | |
865 } | |
857 } | 866 } |
858 | 867 |
859 static void | 868 static void |
860 msn_set_permit_deny(GaimConnection *gc) | 869 msn_set_permit_deny(GaimConnection *gc) |
861 { | 870 { |