aboutsummaryrefslogtreecommitdiffstats
path: root/mod/removeaccount.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/removeaccount.php')
-rw-r--r--mod/removeaccount.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/removeaccount.php b/mod/removeaccount.php
index 70979ec15..f3fa53f75 100644
--- a/mod/removeaccount.php
+++ b/mod/removeaccount.php
@@ -5,7 +5,7 @@ function removeaccount_post(&$a) {
if(! local_channel())
return;
- if(x($_SESSION,'submanage') && intval($_SESSION['submanage']))
+ if($_SESSION['delegate'])
return;
if((! x($_POST,'qxz_password')) || (! strlen(trim($_POST['qxz_password']))))