diff libpurple/protocols/msn/switchboard.c @ 30837:f13f06f1f515

Use the real ack callback.
author masca@cpw.pidgin.im
date Thu, 01 Jul 2010 00:50:39 +0000
parents e935d15725c3
children 47b6eda87723
line wrap: on
line diff
--- a/libpurple/protocols/msn/switchboard.c	Wed Jun 30 20:41:58 2010 +0000
+++ b/libpurple/protocols/msn/switchboard.c	Thu Jul 01 00:50:39 2010 +0000
@@ -757,8 +757,8 @@
 
 	msg = cmd->trans->data;
 
-	if (msg->ack_cb != NULL)
-		msg->ack_cb(msg, msg->ack_data);
+	if (msg->part && msg->part->ack_cb != NULL)
+		msg->part->ack_cb(msg->part, msg->part->ack_data);
 
 	swboard = cmdproc->data;
 	if (swboard)