mirror of
https://github.com/hack-chat/main.git
synced 2024-03-22 13:20:33 +08:00
Update forcecolor.js
This commit is contained in:
parent
7b7a511b8d
commit
28ba8282fc
|
@ -84,14 +84,6 @@ export async function run({
|
||||||
// @todo this should be sent to every channel the user is in (multichannel)
|
// @todo this should be sent to every channel the user is in (multichannel)
|
||||||
server.broadcast(updateNotice, { channel: socket.channel });
|
server.broadcast(updateNotice, { channel: socket.channel });
|
||||||
|
|
||||||
// mod perks
|
|
||||||
// TODO: Change this uType to use level / uac
|
|
||||||
if (socket.uType !== 'user') {
|
|
||||||
if (typeof server.police.records[socket.address] !== 'undefined') {
|
|
||||||
server.police.records[socket.address].score = -50;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user