X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/67eb91cd2fafdf89ba670706e684ab0cd74ae513..1487578f4887f49661320e24e311074a9af36f80:/projects/stargazer/plugins/other/rscript/rscript.h diff --git a/projects/stargazer/plugins/other/rscript/rscript.h b/projects/stargazer/plugins/other/rscript/rscript.h index bc6aa92f..0de1ea2e 100644 --- a/projects/stargazer/plugins/other/rscript/rscript.h +++ b/projects/stargazer/plugins/other/rscript/rscript.h @@ -140,6 +140,7 @@ struct USER { USER(const std::vector & r, USER_PTR it) : user(it), routers(r), + shortPacketsCount(0), ip(user->GetCurrIP()) {} @@ -184,7 +185,7 @@ public: int Start(); int Stop(); - int Reload(); + int Reload(const MODULE_SETTINGS & ms); bool IsRunning() { return isRunning; } const std::string & GetStrError() const { return errorStr; }