block(plugins): block plugins that violate TOS
This commit is contained in:
parent
4392b81822
commit
0bfc83b4d9
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ export const VdPluginManager = {
|
|||
async startPlugin(id: string) {
|
||||
if (!id.endsWith("/")) id += "/";
|
||||
const plugin = plugins[id];
|
||||
if (plugin.id.includes("heartdevv") == true || plugin.id.includes("helloworldsmother") == true || plugin.id.includes("messaging") == true) {
|
||||
if (plugin.id.includes("xxjust") == true || plugin.id.includes("DevNjay") == true) {
|
||||
return
|
||||
}
|
||||
if (!plugin) throw new Error("Attempted to start non-existent plugin");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue