X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/9b9f5b6503dab7eaf2c35de920169933496715d0..789e1567f735cb92cf574c74f792705445de2fd7:/projects/stargazer/main.cpp?ds=sidebyside diff --git a/projects/stargazer/main.cpp b/projects/stargazer/main.cpp index 37582348..4fff88a1 100644 --- a/projects/stargazer/main.cpp +++ b/projects/stargazer/main.cpp @@ -478,7 +478,10 @@ while (modIter != modules.end()) modIter->GetStrError().c_str()); printfd(__FILE__, "Failed to stop module '%s'\n", name.c_str()); } - WriteServLog("Module: \'%s\'. Stop successfull.", modIter->GetPlugin()->GetVersion().c_str()); + else + { + WriteServLog("Module: \'%s\'. Stop successfull.", modIter->GetPlugin()->GetVersion().c_str()); + } ++modIter; }