From 8eec79d7d84aa0ba0f615db91c992102bc1bbce6 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Mon, 13 Dec 2010 00:33:56 +0000 Subject: MSN: Don't send any of the special messages offline since they creep people out. :-) --- protocols/msn/soap.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'protocols') diff --git a/protocols/msn/soap.c b/protocols/msn/soap.c index 21eb0fd1..eb0e34e7 100644 --- a/protocols/msn/soap.c +++ b/protocols/msn/soap.c @@ -561,6 +561,10 @@ int msn_soap_oim_send( struct im_connection *ic, const char *to, const char *msg { struct msn_soap_oim_send_data *data; + /* Don't send any of the special messages since they creep people out. :-) */ + if( strncmp( msg, "\r\r", 2 ) == 0 ) + return 0; + data = g_new0( struct msn_soap_oim_send_data, 1 ); data->to = g_strdup( to ); data->msg = tobase64( msg ); -- cgit v1.2.3