mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
allow aliases in tracker and prevent them from causing html/js/database "stuff"
Though technically they can still do unicode "stuff"
This commit is contained in:
@@ -443,7 +443,7 @@ async def get_snes_devices(ctx: Context):
|
||||
|
||||
|
||||
async def snes_connect(ctx: Context, address):
|
||||
if ctx.snes_socket is not None:
|
||||
if ctx.snes_socket is not None and ctx.snes_state == SNES_CONNECTED:
|
||||
ctx.ui_node.log_error('Already connected to snes')
|
||||
return
|
||||
|
||||
|
Reference in New Issue
Block a user