]> git.saurik.com Git - redis.git/blobdiff - src/pubsub.c
lookupKeyByPattern() used by SORT GET/BY rewritten. Fixes issue #460.
[redis.git] / src / pubsub.c
index 984013bbc46454ec69b534ddcad5cfe333bf309b..4e07dbbab1b296537e1ca4b0e2534a322f57fa20 100644 (file)
@@ -263,6 +263,5 @@ void punsubscribeCommand(redisClient *c) {
 
 void publishCommand(redisClient *c) {
     int receivers = pubsubPublishMessage(c->argv[1],c->argv[2]);
-    if (server.cluster_enabled) clusterPropagatePublish(c->argv[1],c->argv[2]);
     addReplyLongLong(c,receivers);
 }