forked from rDrama/rDrama
kippyprinter: change check to only allow pcmemes.net instead of disallowing rdrama.net
parent
5f16356d7a
commit
981256eb00
|
@ -24,11 +24,11 @@ from urllib.parse import quote, urlencode
|
||||||
@app.post('/kippy')
|
@app.post('/kippy')
|
||||||
@admin_level_required(PERMS['PRINT_MARSEYBUX_FOR_KIPPY_ON_PCMEMES'])
|
@admin_level_required(PERMS['PRINT_MARSEYBUX_FOR_KIPPY_ON_PCMEMES'])
|
||||||
def kippy(v):
|
def kippy(v):
|
||||||
if SITE == 'rdrama.net': abort(404)
|
if SITE != 'pcmemes.net': abort(404)
|
||||||
kippy = get_account(KIPPY_ID)
|
kippy = get_account(KIPPY_ID)
|
||||||
kippy.procoins += 10000
|
kippy.procoins += 10000
|
||||||
g.db.add(kippy)
|
g.db.add(kippy)
|
||||||
return '10k marseycoins printed!'
|
return '10k marseybux printed!'
|
||||||
|
|
||||||
@app.get('/admin/loggedin')
|
@app.get('/admin/loggedin')
|
||||||
@admin_level_required(PERMS['VIEW_ACTIVE_USERS'])
|
@admin_level_required(PERMS['VIEW_ACTIVE_USERS'])
|
||||||
|
|
Loading…
Reference in New Issue