diff options
-rw-r--r-- | protocols/purple/purple.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/purple/purple.c b/protocols/purple/purple.c index 0d830770..c3eb4a3b 100644 --- a/protocols/purple/purple.c +++ b/protocols/purple/purple.c @@ -1014,7 +1014,6 @@ static void *prplcb_request_action(const char *title, const char *primary, const va_list actions) { struct prplcb_request_action_data *pqad; - struct im_connection *ic = purple_ic_by_pa(account); int i; char *q; @@ -1040,7 +1039,7 @@ static void *prplcb_request_action(const char *title, const char *primary, const /* TODO: IRC stuff here :-( */ q = g_strdup_printf("Request: %s\n\n%s\n\n%s", title, primary, secondary); - pqad->bee_data = query_add(ic->bee->ui_data, ic, q, + pqad->bee_data = query_add(local_bee->ui_data, purple_ic_by_pa(account), q, prplcb_request_action_yes, prplcb_request_action_no, g_free, pqad); g_free(q); |