Harden docker callback parsing and remove duplicate /openwrt handler

This commit is contained in:
2026-02-15 01:12:45 +03:00
parent 5099ae4fe2
commit 6d5fb9c258
2 changed files with 9 additions and 9 deletions

View File

@@ -223,13 +223,6 @@ async def openwrt_status(msg: Message):
asyncio.create_task(worker())
@dp.message(F.text == "/openwrt")
async def openwrt_cmd(msg: Message):
if not is_admin_msg(msg):
return
await openwrt_status(msg)
@dp.message(F.text == "/openwrt_wan")
async def openwrt_wan(msg: Message):
if not is_admin_msg(msg):