private function sendOtherNetworkMessage($to, $message, $network) {\r
$message = $this->getMessage($message, $network);\r
$len = strlen($message);\r
- if ($this->ns_writeln("UUM $this->id $to $network 1 $len") === false) {\r
- return false;\r
- }\r
- if ($this->ns_writedata($Message)) {\r
+ if ($this->ns_writeln("UUM $this->id $to $network 1 $len") === false ||\r
+ $this->ns_writedata($Message) === false) {\r
return false;\r
}\r
$this->debug_message("*** Sent to $to (network: $network):\n$Message");\r