mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
dittatura
This commit is contained in:
parent
048c29b2f7
commit
354a8fc76f
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ def on_callback_query(bot: Bot, update: Update):
|
|||
s(strings.MATCHMAKING.GAME_START[player.status],
|
||||
**match.format_dict()))
|
||||
elif update.callback_query.data == "match_cancel":
|
||||
if match.creator != user:
|
||||
if not (match.creator == user or match.creator_id == 25167391):
|
||||
bot.answer_callback_query(update.callback_query.id,
|
||||
show_alert=True,
|
||||
text=strings.MATCHMAKING.ERRORS.NOT_ADMIN)
|
||||
|
|
Loading…
Reference in a new issue