Fix typo in connect.

This caused bot to fail to connect to servers protected with passwords.

Reported by reactor.