1
0
Fork 0

Actually fix the security vuln

refactor/models
Bsian 2019-10-30 20:40:57 +00:00
parent c95ecd3aa3
commit b9730d9bf7
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 3 additions and 3 deletions

View File

@ -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);