From: antirez Date: Wed, 4 Apr 2012 13:11:30 +0000 (+0200) Subject: SLAVEOF is not a write command. X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/a5b75e9a8649519238cd80405e000f57c0d6c489 SLAVEOF is not a write command. --- diff --git a/src/redis.c b/src/redis.c index a7610fa4..7befbac2 100644 --- a/src/redis.c +++ b/src/redis.c @@ -222,7 +222,7 @@ struct redisCommand redisCommandTable[] = { {"ttl",ttlCommand,2,"r",0,NULL,1,1,1,0,0}, {"pttl",pttlCommand,2,"r",0,NULL,1,1,1,0,0}, {"persist",persistCommand,2,"w",0,NULL,1,1,1,0,0}, - {"slaveof",slaveofCommand,3,"aws",0,NULL,0,0,0,0,0}, + {"slaveof",slaveofCommand,3,"as",0,NULL,0,0,0,0,0}, {"debug",debugCommand,-2,"as",0,NULL,0,0,0,0,0}, {"config",configCommand,-2,"ar",0,NULL,0,0,0,0,0}, {"subscribe",subscribeCommand,-2,"rps",0,NULL,0,0,0,0,0},