From 84c6d101a4f9da3ade6e368e25f2a63a45851f3f Mon Sep 17 00:00:00 2001 From: Brian Simpson Date: Mon, 15 Jul 2013 17:25:05 -0400 Subject: [PATCH] Allow promoted links on restricted subreddits. --- r2/r2/models/subreddit.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/r2/r2/models/subreddit.py b/r2/r2/models/subreddit.py index 652f173cc..5f6cb0e41 100644 --- a/r2/r2/models/subreddit.py +++ b/r2/r2/models/subreddit.py @@ -462,6 +462,8 @@ class Subreddit(Thing, Printable, BaseSite): return True elif self.type == 'gold_restricted' and user.gold: return True + elif self.type == 'restricted' and promotion: + return True else: return False