]> git.saurik.com Git - redis.git/commitdiff
Read-only flag removed from PUBLISH command.
authorantirez <antirez@gmail.com>
Mon, 19 Mar 2012 18:16:41 +0000 (19:16 +0100)
committerantirez <antirez@gmail.com>
Mon, 19 Mar 2012 18:16:41 +0000 (19:16 +0100)
src/redis.c

index d84a4fc2d733074f8305e27a8f41980343a8696c..98c12be9fb2d3bb793e676e8b07181e0e0ac7656 100644 (file)
@@ -229,7 +229,7 @@ struct redisCommand redisCommandTable[] = {
     {"unsubscribe",unsubscribeCommand,-1,"rps",0,NULL,0,0,0,0,0},
     {"psubscribe",psubscribeCommand,-2,"rps",0,NULL,0,0,0,0,0},
     {"punsubscribe",punsubscribeCommand,-1,"rps",0,NULL,0,0,0,0,0},
-    {"publish",publishCommand,3,"rpf",0,NULL,0,0,0,0,0},
+    {"publish",publishCommand,3,"pf",0,NULL,0,0,0,0,0},
     {"watch",watchCommand,-2,"rs",0,noPreloadGetKeys,1,-1,1,0,0},
     {"unwatch",unwatchCommand,1,"rs",0,NULL,0,0,0,0,0},
     {"cluster",clusterCommand,-2,"ar",0,NULL,0,0,0,0,0},