forked from engineering/cloudservices
Actually fix the security vuln
parent
c95ecd3aa3
commit
b9730d9bf7
|
@ -32,9 +32,9 @@ export default class Eval extends Command {
|
||||||
evaled = error.stack;
|
evaled = error.stack;
|
||||||
}
|
}
|
||||||
|
|
||||||
evaled = evaled.replace(RegExp(this.client.config.prefix, 'gi'), 'juul');
|
evaled = evaled.replace(new RegExp(this.client.config.prefix, 'gi'), 'juul');
|
||||||
evaled = evaled.replace(RegExp(this.client.config.emailPass, 'gi'), 'juul');
|
evaled = evaled.replace(new RegExp(this.client.config.emailPass, 'gi'), 'juul');
|
||||||
evaled = evaled.replace(RegExp(this.client.config.cloudflare, 'gi'), 'juul');
|
evaled = evaled.replace(new RegExp(this.client.config.cloudflare, 'gi'), 'juul');
|
||||||
|
|
||||||
|
|
||||||
const display = this.client.util.splitString(evaled, 1975);
|
const display = this.client.util.splitString(evaled, 1975);
|
||||||
|
|
Loading…
Reference in New Issue