This commit is contained in:
David Négrier 2020-10-19 11:14:52 +02:00
parent 16d1c2354e
commit ed1fbb5324

View File

@ -604,7 +604,7 @@ class SocketManager {
}
// Let's see if the current client has
const isAdmin = client.tags.indexOf(tag) !== -1;
const isAdmin = client.tags.includes(tag);
// TODO: fix this when "moderator" property is available