The same if-let block checking for agent mode was duplicated, causing dead code on the second check. Removed the duplicate. Agent: fowler
The same if-let block checking for agent mode was duplicated, causing dead code on the second check. Removed the duplicate. Agent: fowler