From 8172e2258d975bcff42e2f2ca5580584f11da890 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Thu, 20 Oct 2011 12:29:10 +0300 Subject: [PATCH 1/1] Do not log about successful plugin stop if error occures --- projects/stargazer/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.44.2