Skip to content

Commit

Permalink
Update terminals.class.php
Browse files Browse the repository at this point in the history
MajorDroid TTS fix
  • Loading branch information
sergejey committed Nov 23, 2018
1 parent 0d3d9d9 commit 88d382d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/terminals/terminals.class.php
Expand Up @@ -232,7 +232,7 @@ function terminalSay($terminal_rec, $message, $level)
//if (!$terminal_rec['IS_ONLINE']) return false;
if ($terminal_rec['MAJORDROID_API'] && $terminal_rec['HOST']) {
$service_port = '7999';
$in = 'tts:' . $ph;
$in = 'tts:' . $message;
$address = $terminal_rec['HOST'];
if (!preg_match('/^\d/', $address)) return 0;
$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
Expand Down

0 comments on commit 88d382d

Please sign in to comment.