X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/7eb850ef0e437323e2d84157ddc2e6e82af57bbc..4b1f6ad3e7a5c7c28618e43e7539c9a937bf8521:/src/redis.c diff --git a/src/redis.c b/src/redis.c index 12ce0f4d..070aeb09 100644 --- a/src/redis.c +++ b/src/redis.c @@ -152,7 +152,7 @@ struct redisCommand redisCommandTable[] = { {"sismember",sismemberCommand,3,"r",0,NULL,1,1,1,0,0}, {"scard",scardCommand,2,"r",0,NULL,1,1,1,0,0}, {"spop",spopCommand,2,"wRs",0,NULL,1,1,1,0,0}, - {"srandmember",srandmemberCommand,2,"rR",0,NULL,1,1,1,0,0}, + {"srandmember",srandmemberCommand,-2,"rR",0,NULL,1,1,1,0,0}, {"sinter",sinterCommand,-2,"rS",0,NULL,1,-1,1,0,0}, {"sinterstore",sinterstoreCommand,-3,"wm",0,NULL,1,-1,1,0,0}, {"sunion",sunionCommand,-2,"rS",0,NULL,1,-1,1,0,0},