Tracking: fix operators precedence error in bcast check.

This commit is contained in:
antirez 2020-02-14 14:27:22 +01:00
parent f6e32a832f
commit 47177c9edc

View File

@ -2268,7 +2268,7 @@ NULL
}
if (c->flags & CLIENT_TRACKING) {
int oldbcast = !!c->flags & CLIENT_TRACKING_BCAST;
int oldbcast = !!(c->flags & CLIENT_TRACKING_BCAST);
if (oldbcast != bcast) {
addReplyError(c,
"You can't switch BCAST mode on/off before disabling "