Fixed rigctl server not starting on AOS

This commit is contained in:
Ryzerth 2021-08-08 21:38:01 +02:00
parent ffc20f5fee
commit 9eb3ef0500
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
#pragma once #pragma once
#define VERSION_STR "1.0.1" #define VERSION_STR "1.0.2"

View File

@ -365,7 +365,7 @@ private:
if (parts.size() == 0) { return; } if (parts.size() == 0) { return; }
// If the command is a compound command, execute each one separately // If the command is a compound command, execute each one separately
if (parts[0].size() > 1 && parts[0][0] != '\\') { if (parts[0].size() > 1 && parts[0][0] != '\\' && parts[0] != "AOS" && parts[0] != "LOS") {
std::string arguments; std::string arguments;
if (parts.size() > 1) { arguments = cmd.substr(parts[0].size()); } if (parts.size() > 1) { arguments = cmd.substr(parts[0].size()); }
for (char c : parts[0]) { for (char c : parts[0]) {