]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - users/index.php
Merge pull request #50 from TehPeGaSuS/patch-2
[irc/unrealircd/unrealircd-webpanel.git] / users / index.php
index 4512c1b6e18e6a456c160aec0011306fc3445f53..40c813057993c92c8c8099260a62fd3348c64bd7 100644 (file)
@@ -14,7 +14,7 @@ if (!empty($_GET))
                $_POST['servicesonly'] = $_GET['servicesonly'];
 }
 
-if (!empty($_POST))
+if (!empty($_POST) && current_user_can(PERMISSION_BAN_USERS))
 {
        require_once "../inc/connection.php";
        do_log($_POST);