diff --git a/daemon/redis.c b/daemon/redis.c index 9026f136d..b42c3b46f 100644 --- a/daemon/redis.c +++ b/daemon/redis.c @@ -1494,7 +1494,7 @@ err1: obj_put(c); } else - redisCommandNR(r->ctx, "SREM calls "PB"", STR_R(id)); + redisCommandNR(m->conf.redis_write->ctx, "SREM calls "PB"", STR_R(id)); } }