X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1911f68bb36127dfecfcd0fd71726069837053a0..cbc0dcab9b85503926c58e82933a6148e81115f5:/projects/stargazer/plugins/other/smux/smux.cpp diff --git a/projects/stargazer/plugins/other/smux/smux.cpp b/projects/stargazer/plugins/other/smux/smux.cpp index ac77ce6e..1300452f 100644 --- a/projects/stargazer/plugins/other/smux/smux.cpp +++ b/projects/stargazer/plugins/other/smux/smux.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include @@ -136,6 +137,12 @@ return smuxSettings.ParseSettings(settings); int SMUX::Start() { +assert(users != NULL && "users not NULL"); +assert(tariffs != NULL && "tariffs not NULL"); +assert(admins != NULL && "admins not NULL"); +assert(services != NULL && "services not NULL"); +assert(corporations != NULL && "corporations not NULL"); + if (PrepareNet()) return -1;