This commit is contained in:
Flummi 2017-11-23 19:08:19 +01:00
parent c10a5884a2
commit 605ecc59b6

View File

@ -365,7 +365,7 @@ module.exports = bot => {
let playerlist = dom.window.document.querySelectorAll("ol > li");
let player = null;
for(let p of playerlist) {
if (p.innerHTML.includes(`player=${args[0]}`)) {
if (p.innerHTML.includes(`player=${args[0]}">`)) {
prank = i;
player = p;
break;