mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +00:00
Changed parameter name in Ban API
This commit is contained in:
parent
0d3cf74636
commit
08499720f5
1 changed files with 4 additions and 4 deletions
|
|
@ -156,12 +156,12 @@ class BanAPI{
|
||||||
$this->commandHandler("ban", array("pardon", $username));
|
$this->commandHandler("ban", array("pardon", $username));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function banIP($username){
|
public function banIP($ip){
|
||||||
$this->commandHandler("banip", array("add", $username));
|
$this->commandHandler("banip", array("add", $ip));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function pardonIP($username){
|
public function pardonIP($ip){
|
||||||
$this->commandHandler("banip", array("pardon", $username));
|
$this->commandHandler("banip", array("pardon", $ip));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isIPBanned($ip){
|
public function isIPBanned($ip){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue