This commit is contained in:
Flummi 2016-09-05 11:23:25 +00:00
parent 3cb18c246e
commit 8a3e6a074d

View File

@ -7,7 +7,7 @@ module.exports = (bot, trigger, lib) => {
func: (e) => { func: (e) => {
var modes = e.message.split(' '); var modes = e.message.split(' ');
var user = modes[modes.length - 1]; var user = modes[modes.length - 1];
if(user.toLower() != 'f0ck') { if(user.toLowerCase() != 'f0ck') {
if(user.match(/(\+|-)/)) if(user.match(/(\+|-)/))
user = e.user.getNick(); user = e.user.getNick();
else else