mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 06:28:27 +00:00
Semicolons
This commit is contained in:
+2
-2
@@ -152,11 +152,11 @@ function textForServerACLEvent(ev) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!Array.isArray(current.allow)){
|
if (!Array.isArray(current.allow)){
|
||||||
current.allow = []
|
current.allow = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Array.isArray(current.deny)){
|
if (!Array.isArray(current.deny)){
|
||||||
current.deny = []
|
current.deny = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
const bannedServers = current.deny.filter((srv) => typeof(srv) === 'string' && !prev.deny.includes(srv));
|
const bannedServers = current.deny.filter((srv) => typeof(srv) === 'string' && !prev.deny.includes(srv));
|
||||||
|
|||||||
Reference in New Issue
Block a user