diff --git a/www/js/channel/userlist.js b/www/js/channel/userlist.js index 3156300..86b51c2 100644 --- a/www/js/channel/userlist.js +++ b/www/js/channel/userlist.js @@ -187,7 +187,7 @@ class userList{ if(user.user != "Tokebot" && user.user != this.client.user.user){ if(this.client.user.permMap.chan.get("kickUser")){ - menuMap.set("Kick", ()=>{this.client.chatBox.commandPreprocessor.preprocess(`!kick ${user.user}`)}); + menuMap.set("Kick", ()=>{this.client.chatBox.transmit(`!kick ${user.user}`);}); } if(this.client.user.permMap.chan.get("banUser")){