diff --git a/src/infrastructure/daemon/bot/adapter/PhabricatorIRCProtocolAdapter.php b/src/infrastructure/daemon/bot/adapter/PhabricatorIRCProtocolAdapter.php index 2d472e7bc3..ad79748de1 100644 --- a/src/infrastructure/daemon/bot/adapter/PhabricatorIRCProtocolAdapter.php +++ b/src/infrastructure/daemon/bot/adapter/PhabricatorIRCProtocolAdapter.php @@ -49,11 +49,11 @@ final class PhabricatorIRCProtocolAdapter } $this->socket = $socket; - $this->write("USER {$user} 0 * :{$user}"); if ($pass) { $this->write("PASS {$pass}"); } $this->write("NICK {$nick}"); + $this->write("USER {$user} 0 * :{$user}"); } public function getNextMessages($poll_frequency) {