|
@@ -106,10 +106,10 @@ |
|
|
block discarded – undo |
|
106
|
106
|
$dns = $dnsResolverFactory->createCached('1.1.1.1', $this->loop); |
|
107
|
107
|
$dnsConnector = new \React\Socket\DnsConnector($tcpConnector, $dns); |
|
108
|
108
|
|
|
109
|
|
- $dnsConnector->connect($this->server)->then(function (ConnectionInterface $connection) { |
|
|
109
|
+ $dnsConnector->connect($this->server)->then(function(ConnectionInterface $connection) { |
|
110
|
110
|
$this->connection = $connection; |
|
111
|
111
|
|
|
112
|
|
- $this->connection->on('data', function ($data) { |
|
|
112
|
+ $this->connection->on('data', function($data) { |
|
113
|
113
|
foreach ($this->ircMessageParser->parse($data) as $msg) { |
|
114
|
114
|
$this->handleIrcMessage($msg); |
|
115
|
115
|
} |
Please login to merge, or discard this patch.