From b8c56a847b5d2ad63adba9aacf446401db0041ce Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 14 Apr 2010 02:20:14 +0200 Subject: fix for 1.2.5 --- skype/skype.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'skype') diff --git a/skype/skype.c b/skype/skype.c index 8c560060..edf1c588 100644 --- a/skype/skype.c +++ b/skype/skype.c @@ -768,15 +768,19 @@ static void skype_parse_chat(struct im_connection *ic, char *line) imcb_chat_free(gc); if (!strcmp(info, "STATUS MULTI_SUBSCRIBED")) { gc = imcb_chat_new(ic, id); -#if defined(BITLBEE_VERSION_CODE) && BITLBEE_VERSION_CODE >= BITLBEE_VER(1, 2, 6) +#ifdef BITLBEE_VERSION_CODE +#if BITLBEE_VERSION_CODE >= BITLBEE_VER(1, 2, 6) imcb_chat_name_hint(gc, id); +#endif #endif skype_printf(ic, "GET CHAT %s ADDER\n", id); skype_printf(ic, "GET CHAT %s TOPIC\n", id); } else if (!strcmp(info, "STATUS DIALOG") && sd->groupchat_with) { gc = imcb_chat_new(ic, id); -#if defined(BITLBEE_VERSION_CODE) && BITLBEE_VERSION_CODE >= BITLBEE_VER(1, 2, 6) +#ifdef BITLBEE_VERSION_CODE +#if BITLBEE_VERSION_CODE >= BITLBEE_VER(1, 2, 6) imcb_chat_name_hint(gc, id); +#endif #endif /* According to the docs this * is necessary. However it -- cgit v1.2.3