47 if(count($args) !== 1){
51 if(inet_pton($args[0]) !==
false){
52 $sender->getServer()->getIPBans()->remove($args[0]);
53 $sender->getServer()->getNetwork()->unblockAddress($args[0]);
54 Command::broadcastCommandMessage($sender, KnownTranslationFactory::commands_unbanip_success($args[0]));
56 $sender->sendMessage(KnownTranslationFactory::commands_unbanip_invalid());