Sentinel: fix conditional to only affect slaves with wrong master.
Sentinel: fix conditional to only affect slaves with wrong master.

cloudrain21/redis,blackmady/redis,gaoxianglong/redis,PKRoma/redis,shreesundara/redis,GrimDerp/redis,kmiku7/redis,itamarhaber/redis,louisliangjun/redis,idning/redis,josiahcarlson/redis,supasate/redis,jingjidejuren/redis,shshlzh/redis-3.0-annotated,ituncle/redis,yuhc/redis-benchmark-enhanced,YuraLukashik/redis,ofirluzon/redis,flashbuckets/redis,shreesundara/redis,neomantra/redis,devaos/redis,adamweixuan/redis-3.0-annotated,ErikDubbelboer/redis,gaoxianglong/redis,harrisonfeng/redis,onlymellb/redis-3.0-annotated,ofirluzon/redis,huangz1990/redis-3.0-annotated,Aliceljm1/redis,narma/redis,AALEKH/redis,zguangyu/redis,shreesundara/redis,dongqifan2/redis-3.0-annotated,ouyangkongtong/redis,wujf/redis,supasate/redis,RepmujNetsik/redis,arijitvt/redis,xujunhai1991/redis,ctripcorp/redis,ctripcorp/redis,roth1002/redis,tellapart/redis,cnbin/redis,pkdevbox/redis,idning/redis,Wangyao14cyy/redis,sunheehnus/redis,guker/redis,a-pavlov/redis,duanx/redis,gongice/redis-3.0-annotated,antirez/redis,pmem/redis,maodeyi/redis_lua,kensou97/redis,alenslan/redis,flashbuckets/redis,4396/redis,ramonsnir/redis,ouyangkongtong/redis,OmarQunsul/graph-redis,takeshineshiro/redis,zhaobo1023/redis-3.0-annotated,JoeWoo/redis,taoguan/redis,gilala/hbjredis,riyan8250/redis,yuzhangjob/redis-3.0-annotated-unstable,fengshao0907/redis-3.0-annotated,WorkingOfTimtohyZhang/redis-3.0-annotated,hornen/redis,pmem/redis,guker/redis,HeartSaVioR/redis,gilala/bjredis,magastzheng/redis-3.0-annotated,jingjidejuren/redis,gongice/redis-3.0-annotated,ErikDubbelboer/redis,fengshao0907/redis-3.0-annotated,mumingv/redis,july2993/redis,gilala/hbjredis,huyuezheng/redis,davidradunz/redis,ttuna/msot-redis,soveran/redis,izhoujie/redis,YuanZhewei/redis,zhcy/redis,wuyu201321060203/redis-3.0-annotated,riyan8250/redis,modulexcite/redis,weizijun/redis,davidradunz/redis,rogerchina/redis,dayuoba/redis,alenslan/redis,devaos/redis,huyuezheng/redis,jackyan/redis,duanx/redis,jbochi/redis,Wangyao14cyy/redis,pcarrier/redis,PKRoma/redis,rogerchina/redis,mumingv/redis,wenxueliu/redis_comment,seppo0010/rlite-server,magastzheng/redis-3.0-annotated,mingyaaaa/redis,idning/redis,soveran/redis,josiahcarlson/redis,tzq668766/redis-3.0-annotated,xlzhan/redis,wprice/redis,kmiku7/redis,ttuna/msot-redis,yuhc/redis-benchmark-enhanced,vincent-vivian-liu/redis,wprice/redis,AALEKH/redis,miaoyc1989/redis-3.0-annotated,ramonsnir/redis,YuraLukashik/redis,ksarch-saas/redis,mengyou0304/redis,citusdata/redis,rogerlz/redis,charsyam/redis,cnbin/redis,abhiklodh/redis,cloudrain21/redis,timothyohare/3rdPartySrc-redis,HunanTV/redis,moonbingbing/redis-3.0-annotated,csuhawk/redis,wbailey5/redis,haima-zju/redis-3.0-annotated,programmecat/redis,seppo0010/rlite-server,takeshineshiro/redis,j0hnma/hszredis,linfangrong/redis,YuanZhewei/redis,neomantra/redis,seandsky/redis,mengzhejin/RedisStudy,alenslan/redis,colstrom/redis,taoguan/redis,gilala/bjredis,OmarQunsul/graph-redis,PKRoma/redis,saisai/redis,gilala/redis,qiyang0221/redis,whille/redis-3.0-annotated,HunanTV/redis,OmarQunsul/graph-redis,honestme/redis,nnog/redis,ipmobiletech/redis,vincent-vivian-liu/redis,zhiliaoniu/redis,gaoxianglong/redis,seppo0010/rlite-server,slfs007/mk-redis,dongqifan2/redis-3.0-annotated,weizijun/redis,hawkchch/redis,mumingv/redis-3.0-annotated,OmarQunsul/graph-redis,ton31337/redis,aim-for-better/redis,WorkingOfTimtohyZhang/redis-3.0-annotated,ketor/redis,hornen/redis,0x55/redis-3.0-annotated,jacklee0810/redis-3.0-annotated,nuxeh/redis,universsky/redis,ton31337/redis,j0hnma/szredis,hgl888/redis,blackmady/redis,netroby/redis,abhiklodh/redis,HunanTV/redis,Soledad89/redis,CodeJuan/redis,yossigo/redis,gechong/redis-3.0-annotated,colstrom/redis,mgk/redis,msn217/redis-3.0-annotated,jbochi/parallel_redis,thomasdarimont/redis,drinkthere/redis-3.0-annotated,moonbingbing/redis-3.0-annotated,riyan8250/redis,wprice/redis,rrsean/redis-3.0-annotated,YongMan/redis,abhiklodh/redis,wbailey5/redis,PKRoma/redis,h0x91b/redis,cnbin/redis,zhoudayang/redis,190235047/redis,soloestoy/redis,gongice/redis-3.0-annotated,netroby/redis,riyan8250/redis,atreeyang/redis,janekmi/redis,nuxeh/redis,badboy/redis,mverrilli/redis,weizijun/redis,allengaller/redis,tanghaodong25/redis,GitHubMota/redis,francischan714/redis,mingyaaaa/redis,jingjidejuren/redis,wbailey5/redis,HouKangkang/redis-3.0-annotated,charsyam/redis,rogerchina/redis,fengshao0907/redis,zhoudayang/redis,fankeke/redis-3.0-annotated,seandsky/redis,kensou97/redis,soloestoy/redis,j0hnma/hszredis,idning/redis,4396/redis,hedisdb/hedis,zhcy/redis,a-pavlov/redis,soveran/redis,mengzhejin/RedisStudy,devaos/redis,clamoriniere1A/redis,pmem/redis,wangyikai/redis,modulexcite/redis,gechong/redis-3.0-annotated,himoca/redis,miaoyc1989/redis-3.0-annotated,pcarrier/redis,blackmady/redis,jbochi/redis,ErikDubbelboer/redis,MSOpenTech/redis,himoca/redis,shining-yang/redis,Sciumo/redis,hedisdb/hedis,xuzhezhaozhao/redis_reading,kensou97/redis,iandyh/redis,abhiklodh/redis,CodeJuan/redis,unasm/redis-3.0-annotated,mengzhejin/RedisStudy,SyntaxStacks/redis,himoca/redis,honestme/redis,janekmi/redis,holstvoogd/redis,huyuezheng/redis,tanghaodong25/redis,guker/redis,clamoriniere1A/redis,allengaller/redis,NBSW/redis,linfangrong/redis,nilyang/redis-tdd-annotation,shreesundara/redis,zczhuohuo/redis,huangz1990/redis-3.0-annotated,z-fork/redis,jacklee0810/redis-3.0-annotated,GitHubMota/redis,seppo0010/redis,nilyang/redis-tdd-annotation,arijitvt/redis,Markgorden/redis,devaos/redis,soveran/redis,Soledad89/redis,gilala/hbjredis,h0x91b/redis,duanx/redis,h0x91b/redis,cloudrain21/redis,rouzier/redis,buobao/redis-3.0-annotated,mcanthony/redis,mcanthony/redis,gilala/hredis,Markgorden/redis,gilala/redis,aim-for-better/redis,a-pavlov/redis,PKRoma/redis,gilala/redis,tzq668766/redis-3.0-annotated,xujunhai1991/redis,xuguruogu/redis,SummonY/redis,hornen/redis,seandsky/redis,pmem/redis,twskipper/redis,whille/redis-3.0-annotated,timothyohare/3rdPartySrc-redis,twskipper/redis,ketor/redis,adamweixuan/redis-3.0-annotated,thomasdarimont/redis,ouyangkongtong/redis,aim-for-better/redis,sunlianqiang/redis-3.0-annotated,neomantra/redis,thomasdarimont/redis,zguangyu/redis,ttuna/msot-redis,tellapart/redis,drinkthere/redis-3.0-annotated,citusdata/redis,tellapart/redis,YuanZhewei/redis,j0hnma/szredis,jasonkying/redis,AALEKH/redis,cusspvz/redis,wujf/redis,seppo0010/rlite-server,jbochi/parallel_redis,rouzier/redis,spearhead-ea/redis,oranagra/redis,supasate/redis,hawkchch/redis,nnog/redis,pkdevbox/redis,charsyam/redis,mattsta/redis,ytjiang/redis,splitice/redis,gilala/redis,elkingtonmcb/redis,Hailei/redis,seppo0010/redis,valdsJohn/redis,GitHubMota/redis,cloudrain21/redis,LongXQ/redis,ketor/redis,dayuoba/redis,timothyohare/3rdPartySrc-redis,HouKangkang/redis-3.0-annotated,fengshao0907/redis,buobao/redis-3.0-annotated,wprice/redis,dreamquster/redis,sunheehnus/redis,gaoxianglong/redis,yybirdcf/learn-redis,ncopa/redis,YongMan/redis,Soledad89/redis,tjschuck/redis,fengshao0907/redis-3.0-annotated,PradheepShrinivasan/redis,wujf/redis,Aaron1992/redis,cusspvz/redis,AplayER/redis,CodeJuan/redis,soloestoy/redis,190235047/redis,tjschuck/redis,programmecat/redis,ncopa/redis,wujf/redis,izhoujie/redis,holstvoogd/redis,rrsean/redis-3.0-annotated,gilala/hredis,ofirluzon/redis,twskipper/redis,hgl888/redis,Hailei/redis,buobao/redis-3.0-annotated,davidradunz/redis,mattsta/redis,pcarrier/redis,valdsJohn/redis,RepmujNetsik/redis,zy416548283/redis-3.0-annotated,iandyh/redis,CodeJuan/redis,SyntaxStacks/redis,spearhead-ea/redis,MasahikoSawada/redis,ReadCode/redis-3.0-annotated,healerkx/redis,tjschuck/redis,wangyikai/redis,maodeyi/redis_lua,nuxeh/redis,kaushik94/redis,darksideofthemoo/redis-histogram,spearhead-ea/redis,AplayER/redis,saisai/redis,YuraLukashik/redis,RepmujNetsik/redis,StevenTsai/redis,MOON-CLJ/redis,shining-yang/redis,ipmobiletech/redis,MasahikoSawada/redis,Hailei/redis,badboy/redis,pcarrier/redis,universsky/redis,GitHubMota/redis,yybirdcf/learn-redis,takeshineshiro/redis,fengshao0907/redis,roth1002/redis,louisliangjun/redis,splitice/redis,jxwr/redis,zhaobo1023/redis-3.0-annotated,shshlzh/redis-3.0-annotated,charsyam/redis,yuzhangjob/redis-3.0-annotated-unstable,hgl888/redis,pedigree/redis,zhoudayang/redis,HeartSaVioR/redis,xuzhezhaozhao/redis_reading,july2993/redis,darksideofthemoo/redis-histogram,rogerlz/redis,SummonY/redis,hornen/redis,jackyan/redis,slfs007/mk-redis,ksarch-saas/redis,whille/redis-3.0-annotated,ofirluzon/redis,mumingv/redis-3.0-annotated,j0hnma/hszredis,antirez/redis,YongMan/redis,hgl888/redis,ytjiang/redis,gilala/hredis,Hailei/redis,RepmujNetsik/redis,MSOpenTech/redis,taoguan/redis,wangyikai/redis,mverrilli/redis,roth1002/redis,flashbuckets/redis,gechong/redis-3.0-annotated,dreamquster/redis,saisai/redis,ksarch-saas/redis,elkingtonmcb/redis,hawkchch/redis,JoeWoo/redis,zhiliaoniu/redis,mengyou0304/redis,GrimDerp/redis,PradheepShrinivasan/redis,gilala/hbjredis,aim-for-better/redis,mgk/redis,a-pavlov/redis,atreeyang/redis,soloestoy/redis,StevenTsai/redis,itamarhaber/redis,simplestbest/redis,pedigree/redis,ctripcorp/redis,onlymellb/redis-3.0-annotated,jbochi/redis,yybirdcf/learn-redis,zhoudayang/redis,guker/redis,moonbingbing/redis-3.0-annotated,jasonkying/redis,brg-liuwei/redis,SyntaxStacks/redis,ncopa/redis,zy416548283/redis-3.0-annotated,kmiku7/redis,Sciumo/redis,qiyang0221/redis,alenslan/redis,itugs/redis,mgk/redis,zhcy/redis,maodeyi/redis_lua,tjschuck/redis,pkdevbox/redis,HouKangkang/redis-3.0-annotated,190235047/redis,j0hnma/hszredis,4396/redis,StevenTsai/redis,zhiliaoniu/redis,mumingv/redis-3.0-annotated,rrsean/redis-3.0-annotated,universsky/redis,haima-zju/redis-3.0-annotated,oranagra/redis,z-fork/redis,rogerlz/redis,Wangyao14cyy/redis,modulexcite/redis,blackmady/redis,simplestbest/redis,ttuna/msot-redis,itamarhaber/redis,jbochi/parallel_redis,rogerchina/redis,programmecat/redis,NBSW/redis,yossigo/redis,dreamquster/redis,simplestbest/redis,unasm/redis-3.0-annotated,gilala/bjredis,drinkthere/redis-3.0-annotated,timothyohare/3rdPartySrc-redis,sunlianqiang/redis-3.0-annotated,0x55/redis-3.0-annotated,izhoujie/redis,dongqifan2/redis-3.0-annotated,zy416548283/redis-3.0-annotated,ncopa/redis,july2993/redis,supasate/redis,francischan714/redis,oranagra/redis,seppo0010/redis,badboy/redis,holstvoogd/redis,Aliceljm1/redis,linfangrong/redis,jxwr/redis,colstrom/redis,mcanthony/redis,tanghaodong25/redis,ituncle/redis,itugs/redis,honestme/redis,harrisonfeng/redis,spinlock/redis,xuguruogu/redis,shshlzh/redis-3.0-annotated,h0x91b/redis,dayuoba/redis,ouyangkongtong/redis,WorkingOfTimtohyZhang/redis-3.0-annotated,Aaron1992/redis,MOON-CLJ/redis,ctripcorp/redis,allengaller/redis,fankeke/redis-3.0-annotated,yuzhangjob/redis-3.0-annotated-unstable,thomasdarimont/redis,xlzhan/redis,josiahcarlson/redis,wenxueliu/redis_comment,harrisonfeng/redis,slfs007/mk-redis,simplestbest/redis,msn217/redis-3.0-annotated,onlymellb/redis-3.0-annotated,vincent-vivian-liu/redis,tzq668766/redis-3.0-annotated,PradheepShrinivasan/redis,josiahcarlson/redis,july2993/redis,wuyu201321060203/redis-3.0-annotated,cusspvz/redis,shining-yang/redis,AplayER/redis,xujunhai1991/redis,citusdata/redis,Aaron1992/redis,j0hnma/szredis,nilyang/redis-tdd-annotation,YuraLukashik/redis,ytjiang/redis,kaushik94/redis,SummonY/redis,qiyang0221/redis,LongXQ/redis,csuhawk/redis,sunheehnus/redis,msn217/redis-3.0-annotated,citusdata/redis,zguangyu/redis,elkingtonmcb/redis,LongXQ/redis,francischan714/redis,izhoujie/redis,shshlzh/redis-3.0-annotated,twskipper/redis,janekmi/redis,yybirdcf/learn-redis,elkingtonmcb/redis,allengaller/redis,clamoriniere1A/redis,PradheepShrinivasan/redis,wenxueliu/redis_comment,Markgorden/redis,xuguruogu/redis,soloestoy/redis,mengzhejin/RedisStudy,oranagra/redis,taoguan/redis,modulexcite/redis,universsky/redis,SummonY/redis,linfangrong/redis,duanx/redis,0x55/redis-3.0-annotated,sunlianqiang/redis-3.0-annotated,YuanZhewei/redis,huyuezheng/redis,mumingv/redis,netroby/redis,xujunhai1991/redis,cusspvz/redis,seandsky/redis,netroby/redis,fankeke/redis-3.0-annotated,Aaron1992/redis,honestme/redis,MasahikoSawada/redis,antirez/redis,spinlock/redis,wangyikai/redis,MasahikoSawada/redis,xlzhan/redis,clamoriniere1A/redis,GrimDerp/redis,miaoyc1989/redis-3.0-annotated,valdsJohn/redis,JoeWoo/redis,darksideofthemoo/redis-histogram,brg-liuwei/redis,Soledad89/redis,SyntaxStacks/redis,rogerlz/redis,NBSW/redis,Sciumo/redis,ton31337/redis,healerkx/redis,ipmobiletech/redis,zhaobo1023/redis-3.0-annotated,ituncle/redis,xuzhezhaozhao/redis_reading,narma/redis,fengshao0907/redis,mingyaaaa/redis,zczhuohuo/redis,Aliceljm1/redis,csuhawk/redis,ReadCode/redis-3.0-annotated,jxwr/redis,ton31337/redis,pkdevbox/redis,cnbin/redis,LongXQ/redis,jackyan/redis,neomantra/redis,healerkx/redis,valdsJohn/redis,MSOpenTech/redis,nilyang/redis-tdd-annotation,vincent-vivian-liu/redis,mattsta/redis,kmiku7/redis,kaushik94/redis,itugs/redis,wuyu201321060203/redis-3.0-annotated,tanghaodong25/redis,GrimDerp/redis,atreeyang/redis,Aliceljm1/redis-3.0-annotated,kensou97/redis,MOON-CLJ/redis,dreamquster/redis,hedisdb/hedis,AALEKH/redis,NBSW/redis,Aliceljm1/redis-3.0-annotated,iandyh/redis,4396/redis,jacklee0810/redis-3.0-annotated,yuhc/redis-benchmark-enhanced,pedigree/redis,francischan714/redis,colstrom/redis,ReadCode/redis-3.0-annotated,zguangyu/redis,davidradunz/redis,gilala/bjredis,JoeWoo/redis,ytjiang/redis,shining-yang/redis,spinlock/redis,iandyh/redis,holstvoogd/redis,mverrilli/redis,mengyou0304/redis,ErikDubbelboer/redis,hedisdb/hedis,yuhc/redis-benchmark-enhanced,arijitvt/redis,ttuna/msot-redis,z-fork/redis,HeartSaVioR/redis,atreeyang/redis,xuzhezhaozhao/redis_reading,wenxueliu/redis_comment,nuxeh/redis,kaushik94/redis,takeshineshiro/redis,Aliceljm1/redis-3.0-annotated,pedigree/redis,Markgorden/redis,xlzhan/redis,brg-liuwei/redis,unasm/redis-3.0-annotated,splitice/redis,darksideofthemoo/redis-histogram,mverrilli/redis,oranagra/redis,itamarhaber/redis,yossigo/redis,zhiliaoniu/redis,ituncle/redis,StevenTsai/redis,sunheehnus/redis,HunanTV/redis,narma/redis,HeartSaVioR/redis,0x55/redis-3.0-annotated,zhcy/redis,yossigo/redis,badboy/redis,YongMan/redis,adamweixuan/redis-3.0-annotated,hawkchch/redis,healerkx/redis,MSOpenTech/redis,mgk/redis,mumingv/redis,Wangyao14cyy/redis,ofirluzon/redis,mengyou0304/redis,mcanthony/redis,zczhuohuo/redis,Aliceljm1/redis,ksarch-saas/redis,j0hnma/szredis,jasonkying/redis,saisai/redis,ramonsnir/redis,seppo0010/redis,jackyan/redis,yossigo/redis,z-fork/redis,wbailey5/redis,tellapart/redis,rouzier/redis,arijitvt/redis,splitice/redis,csuhawk/redis,dayuoba/redis,antirez/redis,brg-liuwei/redis,gilala/hredis,jingjidejuren/redis,louisliangjun/redis,neomantra/redis,nnog/redis,harrisonfeng/redis,programmecat/redis,jasonkying/redis,miaoyc1989/redis-3.0-annotated,janekmi/redis,mingyaaaa/redis,huangz1990/redis-3.0-annotated,Sciumo/redis,MSOpenTech/redis,rouzier/redis,flashbuckets/redis,ipmobiletech/redis,weizijun/redis,magastzheng/redis-3.0-annotated,louisliangjun/redis,zczhuohuo/redis,nnog/redis,haima-zju/redis-3.0-annotated,itugs/redis,xuguruogu/redis,spinlock/redis,AplayER/redis,190235047/redis,qiyang0221/redis,roth1002/redis,wuyu201321060203/redis-3.0-annotated,charsyam/redis