mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 14:49:59 +00:00
Replaced dead tracker and give mods a hammer
This commit is contained in:
parent
2e50f14fb7
commit
2cd2dbf66d
|
@ -166,9 +166,9 @@ def _create_user_class_choices(user):
|
||||||
if flask.g.user:
|
if flask.g.user:
|
||||||
if flask.g.user.is_moderator:
|
if flask.g.user.is_moderator:
|
||||||
choices.append(('trusted', 'Trusted'))
|
choices.append(('trusted', 'Trusted'))
|
||||||
|
choices.append(('banned', 'Banned'))
|
||||||
if flask.g.user.is_superadmin:
|
if flask.g.user.is_superadmin:
|
||||||
choices.append(('moderator', 'Moderator'))
|
choices.append(('moderator', 'Moderator'))
|
||||||
choices.append(('banned', 'Banned'))
|
|
||||||
|
|
||||||
if user:
|
if user:
|
||||||
if user.is_moderator:
|
if user.is_moderator:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
udp://tracker.opentrackr.org:1337/announce
|
udp://tracker.opentrackr.org:1337/announce
|
||||||
udp://tracker.coppersurfer.tk:6969/announce
|
udp://tracker.coppersurfer.tk:6969/announce
|
||||||
|
udp://open.stealth.si:80/announce
|
||||||
udp://tracker.doko.moe:6969
|
udp://tracker.doko.moe:6969
|
||||||
udp://tracker.zer0day.to:1337/announce
|
|
||||||
|
|
Loading…
Reference in a new issue