aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/msn.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/msn/msn.c')
-rw-r--r--protocols/msn/msn.c26
1 files changed, 0 insertions, 26 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);
}