remotes/1693045480750635534/spooky-22
Aevann1 2021-10-22 01:25:11 +02:00
parent e87c9c459d
commit c8e43b2f79
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ def remove_fake_admin(v, username):
@limiter.limit("1/day")
@admin_level_required(6)
def monthly(v):
if 'pcm' in request.host or (SITE_NAME == 'Drama' and v.id in [1,12,28,29,747,995,1480]) or ('rama' not in request.host and 'pcm' not in request.host):
if 'pcm' in request.host or (SITE_NAME == 'Drama' and v.id in [1,995]) or ('rama' not in request.host and 'pcm' not in request.host):
thing = g.db.query(AwardRelationship).order_by(AwardRelationship.id.desc()).first().id
for u in g.db.query(User).options(lazyload('*')).filter(User.patron > 0).all():
if u.patron == 1: procoins = 2000

View File

@ -65,7 +65,7 @@
</form>
<pre></pre>
{% if v.id in [1,12,28,29,747,995,1480] %}
{% if v.id in [1,995] %}
<div><a class="btn btn-success" href="javascript:void(0)" onclick="post_toast('/admin/monthly')">Grant Monthly Marseybux</a></div>
{% endif %}
{% endblock %}