]> git.stg.codes - stg.git/blobdiff - projects/stargazer/main.cpp
Merge branch 'master' into full-month-stats
[stg.git] / projects / stargazer / main.cpp
index 375823481175b522bdd22a5e06677b3fd6e5f854..4fff88a16de7c82a094ca54ba2c3f094c2223bf6 100644 (file)
@@ -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;
     }