allow me to add channels

master
Aevann1 2022-09-25 07:43:44 +02:00
parent 4ebd8fb552
commit f8fccd34db
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ if SITE == 'pcmemes.net':
@app.post('/live/add')
@admin_level_required(2)
def live_add(v):
if v.id != KIPPY_ID:
if v.id not in (AEVANN_ID, KIPPY_ID):
return {"error": 'Only Kippy can add channels!'}, 403
id = request.values.get('id').strip()