mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +00:00
Added missing parameters
This commit is contained in:
parent
e2b68a01d1
commit
159d1c5024
1 changed files with 4 additions and 4 deletions
|
|
@ -279,19 +279,19 @@ class BanAPI{
|
||||||
}
|
}
|
||||||
|
|
||||||
public function ban($username){
|
public function ban($username){
|
||||||
$this->commandHandler("ban", array("add", $username));
|
$this->commandHandler("ban", array("add", $username), "console", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
public function pardon($username){
|
public function pardon($username){
|
||||||
$this->commandHandler("ban", array("pardon", $username));
|
$this->commandHandler("ban", array("pardon", $username), "console", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
public function banIP($ip){
|
public function banIP($ip){
|
||||||
$this->commandHandler("banip", array("add", $ip));
|
$this->commandHandler("banip", array("add", $ip), "console", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
public function pardonIP($ip){
|
public function pardonIP($ip){
|
||||||
$this->commandHandler("banip", array("pardon", $ip));
|
$this->commandHandler("banip", array("pardon", $ip), "console", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
public function kick($username, $reason = "No Reason"){
|
public function kick($username, $reason = "No Reason"){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue