aboutsummaryrefslogtreecommitdiffstats
path: root/mod/receive.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/receive.php')
-rw-r--r--mod/receive.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/receive.php b/mod/receive.php
index 72e290348..950bf0bd3 100644
--- a/mod/receive.php
+++ b/mod/receive.php
@@ -24,7 +24,7 @@ function receive_post(&$a) {
$guid = $a->argv[2];
- $r = q("SELECT * FROM `user` WHERE `guid` = '%s' LIMIT 1",
+ $r = q("SELECT * FROM `user` WHERE `guid` = '%s' AND `account_expired` = 0 LIMIT 1",
dbesc($guid)
);
if(! count($r))