1
0
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:
marzavec 2020-11-09 11:56:48 -08:00
parent 7b7a511b8d
commit 28ba8282fc

View File

@ -84,14 +84,6 @@ export async function run({
// @todo this should be sent to every channel the user is in (multichannel)
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;
}