aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2010-04-14 02:20:14 +0200
committerMiklos Vajna <vmiklos@frugalware.org>2010-04-14 02:20:14 +0200
commitb8c56a847b5d2ad63adba9aacf446401db0041ce (patch)
tree0495dcb1f9d3a561f5ae5c6ec2661c162601a951
parent7666c873a916ac06ac6926189d2e06ca8d208b43 (diff)
fix for 1.2.5
-rw-r--r--skype/skype.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/skype/skype.c b/skype/skype.c
index 8c560060..edf1c588 100644
--- a/skype/skype.c
+++ b/skype/skype.c
@@ -768,16 +768,20 @@ 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
* does not seem the situation