Linting
This commit is contained in:
parent
16d1c2354e
commit
ed1fbb5324
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue