diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-12-13 00:33:56 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-12-13 00:33:56 +0000 |
commit | 8eec79d7d84aa0ba0f615db91c992102bc1bbce6 (patch) | |
tree | de8a7b3056a81810769120a66a4a3aa0dcc9b62e | |
parent | 76c89dc7e58c9d4806e83c04ab4005faa84e2703 (diff) |
MSN: Don't send any of the special messages offline since they creep people
out. :-)
-rw-r--r-- | protocols/msn/soap.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 ); |