X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/46b1c9557d0a8bdd84caf81ae337838101d36eba..76200e36b9dce259a825f751f5e33abab4be9a06:/index.php diff --git a/index.php b/index.php index 02ea896..044775f 100644 --- a/index.php +++ b/index.php @@ -28,6 +28,16 @@ define('UPATH', true); include "Classes/class-rpc.php"; +if (!empty($_POST['tklch'])) + foreach ($_POST as $key => $value) + { + foreach ($value as $tok) + { + $tok = explode(",",$tok); + rpc_tkl_del(base64_decode($tok[0]), base64_decode($tok[1])); + } + } + rpc_pop_lists(); // populate our static lists (users, channels, tkl, spamfilter) ?> @@ -65,7 +75,7 @@ rpc_pop_lists(); // populate our static lists (users, channels, tkl, spamfilter) echo "