21 lines
No EOL
620 B
JavaScript
21 lines
No EOL
620 B
JavaScript
(function(){
|
|
var Bye = function() {
|
|
//
|
|
};
|
|
Bye.prototype = {
|
|
preload: function(entityID) {
|
|
if (Settings.getValue("io.highfidelity.com.trustedUser")) {
|
|
Window.location.goToLocalSandbox();
|
|
}
|
|
},
|
|
banUser: function() {
|
|
var username = Account.username;
|
|
// Paste in the username of the bad actor here
|
|
if (username === "jazmin") {
|
|
Settings.setValue("io.highfidelity.com.trustedUser" , true);
|
|
}
|
|
this.preload();
|
|
}
|
|
};
|
|
return new Bye();
|
|
}); |