Linting
This commit is contained in:
parent
16d1c2354e
commit
ed1fbb5324
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user