"source": {
"type": "git",
"url": "https://github.com/unrealircd/unrealircd-rpc-php.git",
- "reference": "2d5f74f2644425610ce48301309e5d727ccd7c61"
+ "reference": "65b6ddcbb9a8af0066fcdc588c92c210b5388fc4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/unrealircd/unrealircd-rpc-php/zipball/2d5f74f2644425610ce48301309e5d727ccd7c61",
- "reference": "2d5f74f2644425610ce48301309e5d727ccd7c61",
+ "url": "https://api.github.com/repos/unrealircd/unrealircd-rpc-php/zipball/65b6ddcbb9a8af0066fcdc588c92c210b5388fc4",
+ "reference": "65b6ddcbb9a8af0066fcdc588c92c210b5388fc4",
"shasum": ""
},
"require": {
"issues": "https://github.com/unrealircd/unrealircd-rpc-php/issues",
"source": "https://github.com/unrealircd/unrealircd-rpc-php/tree/main"
},
- "time": "2023-01-10T05:14:00+00:00"
+ "time": "2023-01-12T16:32:36+00:00"
}
],
"packages-dev": [],
$type = base64_decode($tok[1]);
$success = false;
if ($type == "except")
- $success = $rpc->exception()->delete($ban);
+ $success = $rpc->serverbanexception()->delete($ban);
else if ($type == "qline" || $type == "local-qline")
$success = $rpc->nameban()->delete($ban);
else
}
elseif ($bantype == "except")
{
- if ($rpc->exception()->add($iphost, "", $duration, $reason))
+ if ($rpc->serverbanexception()->add($iphost, "", $duration, $reason))
Message::Success("Exception set for \"$iphost\": $reason");
else
Message::Fail("Exception could not be set \"$iphost\": $rpc->error");
$tkl = $rpc->serverban()->getAll();
foreach ($rpc->nameban()->getAll() as $v)
$tkl[] = $v;
-foreach ($rpc->exception()->getAll() as $v)
+foreach ($rpc->serverbanexception()->getAll() as $v)
$tkl[] = $v;
?>
<h4>Server Bans Overview</h4><br>