whois fix

This commit is contained in:
Thomas Ciesla
2026-01-09 14:13:51 +01:00
parent 682cc5402a
commit 13fd0daf6d

View File

@@ -909,7 +909,7 @@ async def dashboard_websocket(websocket: WebSocket):
elif event_type == 'command.whois': elif event_type == 'command.whois':
# WHOIS ist Shop-unabhängig - nutze einen beliebigen Online-Agent # WHOIS ist Shop-unabhängig - nutze einen beliebigen Online-Agent
agent_id = None agent_id = None
for aid, ws in manager.agents.items(): for aid, ws in manager.agent_connections.items():
if ws: if ws:
agent_id = aid agent_id = aid
break break