From efa084070718ccfb5628f40bffd88b2799498d68 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Mon, 4 Jan 2016 11:39:45 +0100 Subject: [PATCH] Fix commandCommand arity --- src/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.c b/src/server.c index 3e0ed8df..213c7821 100644 --- a/src/server.c +++ b/src/server.c @@ -282,7 +282,7 @@ struct redisCommand redisCommandTable[] = { {"bitcount",bitcountCommand,-2,"r",0,NULL,1,1,1,0,0}, {"bitpos",bitposCommand,-3,"r",0,NULL,1,1,1,0,0}, {"wait",waitCommand,3,"s",0,NULL,0,0,0,0,0}, - {"command",commandCommand,0,"lt",0,NULL,0,0,0,0,0}, + {"command",commandCommand,1,"lt",0,NULL,0,0,0,0,0}, {"geoadd",geoaddCommand,-5,"wm",0,NULL,1,1,1,0,0}, {"georadius",georadiusCommand,-6,"w",0,NULL,1,1,1,0,0}, {"georadiusbymember",georadiusByMemberCommand,-5,"w",0,NULL,1,1,1,0,0},