diff options
author | Friendika <info@friendika.com> | 2011-09-19 01:17:12 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-09-19 01:17:12 -0700 |
commit | 2aef98f71d95ba5c2caae7637002daef0bce6de5 (patch) | |
tree | ffc8b84eedfdfed720b6e4ec14244f3a4bff44ef /mod/receive.php | |
parent | 672ecc7f7d2e17b0d35eccc94e6fa1b5eef0d108 (diff) | |
download | volse-hubzilla-2aef98f71d95ba5c2caae7637002daef0bce6de5.tar.gz volse-hubzilla-2aef98f71d95ba5c2caae7637002daef0bce6de5.tar.bz2 volse-hubzilla-2aef98f71d95ba5c2caae7637002daef0bce6de5.zip |
cripple account when expired
Diffstat (limited to 'mod/receive.php')
-rw-r--r-- | mod/receive.php | 2 |
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)) |