This commit is contained in:
maxdcb
2026-04-29 21:41:07 +02:00
parent b9e40f43bf
commit 52fa15fffc
15 changed files with 36 additions and 1 deletions
+2
View File
@@ -58,6 +58,7 @@ std::string Script::getInfo()
int Script::init(std::vector<std::string> &splitedCmd, C2Message &c2Message)
{
#if defined(BUILD_TEAMSERVER) || defined(C2CORE_BUILD_TESTS)
if(splitedCmd.size()<2)
{
c2Message.set_returnvalue(getInfo());
@@ -83,6 +84,7 @@ int Script::init(std::vector<std::string> &splitedCmd, C2Message &c2Message)
c2Message.set_returnvalue(err);
return -1;
}
#endif
return 0;
}