diff -r 1b8062090546 -r 563a1af15501 src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Sat Dec 14 22:48:38 2002 +0000 +++ b/src/protocols/oscar/oscar.c Sun Dec 15 06:15:27 2002 +0000 @@ -2014,20 +2014,6 @@ } /* - * For when other people ask you for authorization - */ -static void gaim_icq_authask(struct gaim_connection *gc, fu32_t uin, char *msg) { - struct channel4_data *data = g_new(struct channel4_data, 1); - /* The first 6 chars of the message are some type of alien gibberish, so skip them */ - char *dialog_msg = g_strdup_printf("The user %lu wants to add you to their buddy list for the following reason: %s", uin, (msg && strlen(msg)>6) ? msg+6 : "No reason given."); - debug_printf("Received an authorization request from UIN %lu\n", uin); - data->gc = gc; - data->uin = g_strdup_printf("%lu", uin); - do_ask_dialog(dialog_msg, (msg && strlen(msg) > 6) ? msg+6 : _("No reason given."), data, _("Authorize"), gaim_icq_authgrant, _("Deny"), gaim_icq_authdeny); - g_free(dialog_msg); -} - -/* * Next 2 functions are for when someone sends you contacts