mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-24 22:38:09 -05:00
Remove admin check from admin distinguished items.
This commit is contained in:
committed by
Neil Williams
parent
4758ac8d2e
commit
c5d59cd6a6
@@ -146,8 +146,7 @@ class Builder(object):
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
if (w.distinguished == 'admin' and
|
||||
w.author and w.author.name in g.admins):
|
||||
if (w.distinguished == 'admin' and w.author):
|
||||
add_attr(w.attribs, 'A')
|
||||
|
||||
if w.distinguished == 'moderator':
|
||||
|
||||
Reference in New Issue
Block a user