]> git.saurik.com Git - redis.git/blobdiff - src/pubsub.c
Use linenoise completion API from redis-cli
[redis.git] / src / pubsub.c
index 23b0ceb0bcece1db097828047f19f680133c40f5..2bd3d05807071aa7853d3c478a5318aec475389b 100644 (file)
@@ -262,7 +262,6 @@ void punsubscribeCommand(redisClient *c) {
 }
 
 void publishCommand(redisClient *c) {
-    c->argv[2] = tryObjectEncoding(c->argv[2]);
     int receivers = pubsubPublishMessage(c->argv[1],c->argv[2]);
     addReplyLongLong(c,receivers);
 }