aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/im-asapo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/im-asapo.c b/src/im-asapo.c
index 6bc43b11..e0a23546 100644
--- a/src/im-asapo.c
+++ b/src/im-asapo.c
@@ -339,6 +339,7 @@ static void send_placeholder(struct im_asapo *a, struct image *image)
* send a placeholder */
void im_asapo_send(struct im_asapo *a, struct image *image, int hit)
{
+ if ( a->producer == NULL ) return;
profile_start("asapo-send");
if ( hit ) {
send_real(a, image);