aboutsummaryrefslogtreecommitdiffstats
path: root/mod/salmon.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/salmon.php')
-rw-r--r--mod/salmon.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/salmon.php b/mod/salmon.php
index 3ace417cd..2a53e914b 100644
--- a/mod/salmon.php
+++ b/mod/salmon.php
@@ -183,7 +183,11 @@ function salmon_post(&$a) {
if(! count($r)) {
logger('mod-salmon: Author unknown to us.');
}
- if((count($r)) && ($r[0]['readonly'])) {
+
+ // is this a follower? Or have we ignored the person?
+ // If so we can not accept this post.
+
+ if((count($r)) && (($r[0]['readonly']) || ($r[0]['rel'] == REL_VIP)) {
logger('mod-salmon: Ignoring this author.');
salmon_return(202);
// NOTREACHED