Fix forced login

This commit is contained in:
Andrew Ferrazzutti 2022-05-06 18:28:03 -04:00
parent 4e6498f777
commit 095641fe08

View File

@ -235,7 +235,7 @@ async def _force_login(evt: CommandEvent) -> None:
) )
return return
assert evt.sender.command_status assert evt.sender.command_status
evt.sender.command_status["forced"] = True evt.sender.command_status["req"]["forced"] = True
await evt.mark_read() await evt.mark_read()
await _try_login(evt, evt.sender.command_status.pop("req")) await _try_login(evt, evt.sender.command_status.pop("req"))