diff options
Diffstat (limited to 'protocols')
| -rw-r--r-- | protocols/nogaim.h | 8 | ||||
| -rw-r--r-- | protocols/oscar/oscar.c | 18 | 
2 files changed, 0 insertions, 26 deletions
| diff --git a/protocols/nogaim.h b/protocols/nogaim.h index 96bddb66..6e7343ba 100644 --- a/protocols/nogaim.h +++ b/protocols/nogaim.h @@ -179,8 +179,6 @@ struct prpl {  	 */  	void (* set_away)       (struct im_connection *, char *state, char *message);  	/* Implementing this function is optional. */ -	void (* get_away)       (struct im_connection *, char *who); -	/* Implementing this function is optional. */  	int (* send_typing)    (struct im_connection *, char *who, int flags);  	/* 'name' is a handle to add/remove. For now BitlBee doesn't really @@ -194,16 +192,10 @@ struct prpl {  	void (* add_deny)       (struct im_connection *, char *who);  	void (* rem_permit)     (struct im_connection *, char *who);  	void (* rem_deny)       (struct im_connection *, char *who); -	/* Doesn't actually have UI hooks. Not used at all, can be removed. */ -	void (* set_permit_deny)(struct im_connection *);  	/* Request profile info. Free-formatted stuff, the IM module gives back  	   this info via imcb_log(). Implementing these are optional. */  	void (* get_info)       (struct im_connection *, char *who); -	/* set_my_name is *DEPRECATED*, not used by the UI anymore. Use the -	   display_name setting instead. */ -	void (* set_my_name)    (struct im_connection *, char *name); -	void (* set_name)       (struct im_connection *, char *who, char *name);  	/* Group chat stuff. */  	/* This is called when the user uses the /invite IRC command. diff --git a/protocols/oscar/oscar.c b/protocols/oscar/oscar.c index 22244f6c..71f48db9 100644 --- a/protocols/oscar/oscar.c +++ b/protocols/oscar/oscar.c @@ -1913,23 +1913,6 @@ static void oscar_get_info(struct im_connection *g, char *name)  	}  } -static void oscar_get_away(struct im_connection *g, char *who) -{ -	struct oscar_data *odata = (struct oscar_data *) g->proto_data; - -	if (odata->icq) { -		/** FIXME(wilmer): Hmm, lost the ability to get away msgs here, do we care to get that back? -		struct buddy *budlight = imcb_find_buddy(g, who); -		if (budlight) -		        if ((budlight->uc & 0xff80) >> 7) -		                if (budlight->caps & AIM_CAPS_ICQSERVERRELAY) -		                        aim_send_im_ch2_geticqmessage(odata->sess, who, (budlight->uc & 0xff80) >> 7); -		*/ -	} else { -		aim_getinfo(odata->sess, odata->conn, who, AIM_GETINFO_AWAYMESSAGE); -	} -} -  static void oscar_set_away_aim(struct im_connection *ic, struct oscar_data *od, const char *state, const char *message)  {  	if (state == NULL) { @@ -2711,7 +2694,6 @@ void oscar_initmodule()  	ret->buddy_msg = oscar_buddy_msg;  	ret->get_info = oscar_get_info;  	ret->set_away = oscar_set_away; -	ret->get_away = oscar_get_away;  	ret->add_buddy = oscar_add_buddy;  	ret->remove_buddy = oscar_remove_buddy;  	ret->chat_msg = oscar_chat_msg; | 
