aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/sb.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-12-13 00:42:58 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2010-12-13 00:42:58 +0000
commit9c846175a71a36cbc49b63ab1668d01675e16203 (patch)
treef58c520fb35ba99b2b793bea00373301a128b60c /protocols/msn/sb.c
parent8eec79d7d84aa0ba0f615db91c992102bc1bbce6 (diff)
Silently adding /CTCP NUDGE support for MSN contacts.
Diffstat (limited to 'protocols/msn/sb.c')
-rw-r--r--protocols/msn/sb.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/protocols/msn/sb.c b/protocols/msn/sb.c
index 898fb34f..37ac2889 100644
--- a/protocols/msn/sb.c
+++ b/protocols/msn/sb.c
@@ -183,9 +183,14 @@ int msn_sb_sendmessage( struct msn_switchboard *sb, char *text )
buf = g_new0( char, i );
i = g_snprintf( buf, i, MSN_TYPING_HEADERS, sb->ic->acc->user );
}
+ else if( strcmp( text, NUDGE_MESSAGE ) == 0 )
+ {
+ buf = g_strdup( MSN_NUDGE_HEADERS );
+ i = strlen( buf );
+ }
else if( strcmp( text, SB_KEEPALIVE_MESSAGE ) == 0 )
{
- buf = g_strdup( SB_KEEPALIVE_HEADERS );
+ buf = g_strdup( MSN_SB_KEEPALIVE_HEADERS );
i = strlen( buf );
}
else if( strncmp( text, MSN_INVITE_HEADERS, sizeof( MSN_INVITE_HEADERS ) - 1 ) == 0 )