Deny commands flagged as REDIS_CMD_NOSCRIPT from Lua scripts

This commit is contained in:
antirez
2011-09-27 13:57:10 +02:00
parent b60ed6e812
commit 15ef605340
2 changed files with 13 additions and 7 deletions

View File

@ -125,7 +125,7 @@ struct redisCommand redisCommandTable[] = {
{"smove",smoveCommand,4,"w",0,NULL,1,2,1,0,0},
{"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,"wR",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},
{"sinter",sinterCommand,-2,"r",0,NULL,1,-1,1,0,0},
{"sinterstore",sinterstoreCommand,-3,"wm",0,NULL,2,-1,1,0,0},