git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d76b613
)
Do not log about successful plugin stop if error occures
author
Maxim Mamontov
<faust.madf@gmail.com>
Thu, 20 Oct 2011 09:29:10 +0000
(12:29 +0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Thu, 20 Oct 2011 09:29:10 +0000
(12:29 +0300)
projects/stargazer/main.cpp
patch
|
blob
|
history
diff --git
a/projects/stargazer/main.cpp
b/projects/stargazer/main.cpp
index 375823481175b522bdd22a5e06677b3fd6e5f854..4fff88a16de7c82a094ca54ba2c3f094c2223bf6 100644
(file)
--- 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;
}