summaryrefslogtreecommitdiffstats
path: root/source/PluginManager.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-06 15:44:14 +0200
committermadmaxoft <github@xoft.cz>2013-10-06 15:44:14 +0200
commitdabbf24f587d6c946b84620fb6a86e9b587a23b8 (patch)
tree7615b6f1c6030b15a67528e84d9740639adbd344 /source/PluginManager.cpp
parentRemoved remnants of the old webserver. (diff)
parentAPIDump: Brought cItem docs up-to-date. (diff)
downloadcuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar
cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar.gz
cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar.bz2
cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar.lz
cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar.xz
cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.tar.zst
cuberite-dabbf24f587d6c946b84620fb6a86e9b587a23b8.zip
Diffstat (limited to 'source/PluginManager.cpp')
-rw-r--r--source/PluginManager.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/source/PluginManager.cpp b/source/PluginManager.cpp
index 68cb6e40b..eb347968a 100644
--- a/source/PluginManager.cpp
+++ b/source/PluginManager.cpp
@@ -95,7 +95,7 @@ void cPluginManager::FindPlugins(void)
void cPluginManager::ReloadPluginsNow(void)
{
- LOG("Loading plugins");
+ LOG("-- Loading Plugins --");
m_bReloadPlugins = false;
UnloadPluginsNow();
@@ -135,11 +135,15 @@ void cPluginManager::ReloadPluginsNow(void)
if (GetNumPlugins() == 0)
{
- LOG("No plugins loaded");
+ LOG("-- No Plugins Loaded --");
+ }
+ else if ((GetNumPlugins() > 1) || (GetNumPlugins() == 0))
+ {
+ LOG("-- Loaded %i Plugins --", GetNumPlugins());
}
else
{
- LOG("Loaded %i plugin(s)", GetNumPlugins());
+ LOG("-- Loaded 1 Plugin --");
}
}