X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/1eb66e87a119bee4a8447798c3aaf9c277eea215..cd26522ba6ff68c18e1504b022ca92f4d01827be:/users/index.php diff --git a/users/index.php b/users/index.php index 40c8130..9e9ed97 100644 --- a/users/index.php +++ b/users/index.php @@ -13,8 +13,8 @@ if (!empty($_GET)) if (isset($_GET['servicesonly']) && !isset($_POST['servicesonly'])) $_POST['servicesonly'] = $_GET['servicesonly']; } - -if (!empty($_POST) && current_user_can(PERMISSION_BAN_USERS)) +$can_ban = current_user_can(PERMISSION_BAN_USERS); +if (!empty($_POST) && $can_ban) { require_once "../inc/connection.php"; do_log($_POST); @@ -104,66 +104,68 @@ Click on a username to view more information. - +
- - - - "> + + + + - + - + - -
+ + ?> + + +
+
- -