X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/17311eb0f8ba148b7de3ac3e6e1f276ec850de68..fa42b0f75dc1431d9768be832d23399a12711fb9:/Classes/class-rpc.php diff --git a/Classes/class-rpc.php b/Classes/class-rpc.php index a952d09..886b974 100644 --- a/Classes/class-rpc.php +++ b/Classes/class-rpc.php @@ -22,6 +22,9 @@ class RPC_List static $channel = []; static $tkl = []; static $spamfilter = []; + static $server = []; + static $nameban = []; + static $exception = []; static $opercount = 0; static $services_count = 0; @@ -67,7 +70,15 @@ function rpc_pop_lists() $ret = $rpc->spamfilter()->getAll(); foreach($ret as $r) RPC_List::$spamfilter[] = $r; - + + foreach ($rpc->nameban()->getAll() as $r) + RPC_List::$nameban[] = $r; + + foreach ($rpc->serverbanexception()->getAll() as $r) + RPC_List::$exception[] = $r; + + foreach ($rpc->server()->getAll() as $r) + RPC_List::$server[] = $r; } /** Convert the duration_string */