diff --git a/src/networking.c b/src/networking.c index 5634cf6fe..7a86bf80d 100644 --- a/src/networking.c +++ b/src/networking.c @@ -1410,9 +1410,7 @@ void clientCommand(client *c) { while ((ln = listNext(&li)) != NULL) { client = listNodeValue(ln); if (addr && strcmp(getClientPeerId(client),addr) != 0) continue; - if (type != -1 && - (client->flags & CLIENT_MASTER || - getClientType(client) != type)) continue; + if (type != -1 && getClientType(client) != type) continue; if (id != 0 && client->id != id) continue; if (c == client && skipme) continue;