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:18:51 +0000 (19:18 +0100)
src/redis.c

index eb19fbbf3018870492099672f6fcb0061f74d6f9..0b5d672bfd258389c510a2f0f5f7785ef8cf7715 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},
     {"restore",restoreCommand,4,"awm",0,NULL,1,1,1,0,0},