Block IP addresses on ban-ip

This commit is contained in:
Shoghi Cervantes
2014-12-26 13:56:35 +01:00
parent 854479180f
commit 2db2e8cfc4
4 changed files with 21 additions and 3 deletions

View File

@@ -75,6 +75,8 @@ class BanIpCommand extends VanillaCommand{
}
}
$sender->getServer()->blockAddress($ip, -1);
Command::broadcastCommandMessage($sender, "Banned IP Address " . $ip);
}
}