diff options
| -rw-r--r-- | protocols/msn/msn.c | 26 | ||||
| -rw-r--r-- | protocols/msn/msn.h | 7 | 
2 files changed, 0 insertions, 33 deletions
| diff --git a/protocols/msn/msn.c b/protocols/msn/msn.c index dbacb413..7d0805a7 100644 --- a/protocols/msn/msn.c +++ b/protocols/msn/msn.c @@ -339,30 +339,6 @@ static void msn_buddy_data_free(bee_user_t *bu)  	g_tree_remove(md->domaintree, bu->handle);  } -GList *msn_buddy_action_list(bee_user_t *bu) -{ -	static GList *ret = NULL; - -	if (ret == NULL) { -		static const struct buddy_action ba[2] = { -			{ "NUDGE", "Draw attention" }, -		}; - -		ret = g_list_prepend(ret, (void *) ba + 0); -	} - -	return ret; -} - -void *msn_buddy_action(struct bee_user *bu, const char *action, char * const args[], void *data) -{ -	if (g_strcasecmp(action, "NUDGE") == 0) { -		msn_buddy_msg(bu->ic, bu->handle, NUDGE_MESSAGE, 0); -	} - -	return NULL; -} -  void msn_initmodule()  {  	struct prpl *ret = g_new0(struct prpl, 1); @@ -391,8 +367,6 @@ void msn_initmodule()  	ret->handle_cmp = g_strcasecmp;  	ret->buddy_data_add = msn_buddy_data_add;  	ret->buddy_data_free = msn_buddy_data_free; -	ret->buddy_action_list = msn_buddy_action_list; -	ret->buddy_action = msn_buddy_action;  	register_protocol(ret);  } diff --git a/protocols/msn/msn.h b/protocols/msn/msn.h index 75dc2b7e..b76fbd40 100644 --- a/protocols/msn/msn.h +++ b/protocols/msn/msn.h @@ -29,7 +29,6 @@  /* Some hackish magicstrings to make special-purpose messages/switchboards.   */  #define TYPING_NOTIFICATION_MESSAGE "\r\r\rBEWARE, ME R TYPINK MESSAGE!!!!\r\r\r" -#define NUDGE_MESSAGE "\r\r\rSHAKE THAT THING\r\r\r"  #define GROUPCHAT_SWITCHBOARD_MESSAGE "\r\r\rME WANT TALK TO MANY PEOPLE\r\r\r"  #ifdef DEBUG_MSN @@ -107,12 +106,6 @@  	"TypingUser: %s\r\n" \  	"\r\n\r\n" -#define MSN_NUDGE_HEADERS "MIME-Version: 1.0\r\n" \ -	"Content-Type: text/x-msnmsgr-datacast\r\n" \ -	"\r\n" \ -	"ID: 1\r\n" \ -	"\r\n" -  #define PROFILE_URL "http://members.msn.com/"  typedef enum { | 
