summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-13 15:50:05 +0100
committermadmaxoft <github@xoft.cz>2013-11-13 15:50:24 +0100
commita8ad7c238391020f2d88a07cd31e65b303ff6826 (patch)
tree8f2884da658b319e6b9745713c7744a35b6f41a0 /source
parentMerge pull request #339 from nesco/master (diff)
downloadcuberite-a8ad7c238391020f2d88a07cd31e65b303ff6826.tar
cuberite-a8ad7c238391020f2d88a07cd31e65b303ff6826.tar.gz
cuberite-a8ad7c238391020f2d88a07cd31e65b303ff6826.tar.bz2
cuberite-a8ad7c238391020f2d88a07cd31e65b303ff6826.tar.lz
cuberite-a8ad7c238391020f2d88a07cd31e65b303ff6826.tar.xz
cuberite-a8ad7c238391020f2d88a07cd31e65b303ff6826.tar.zst
cuberite-a8ad7c238391020f2d88a07cd31e65b303ff6826.zip
Diffstat (limited to '')
-rw-r--r--source/PluginManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/PluginManager.cpp b/source/PluginManager.cpp
index 3ac2366ca..c1f695163 100644
--- a/source/PluginManager.cpp
+++ b/source/PluginManager.cpp
@@ -1511,11 +1511,11 @@ bool cPluginManager::BindConsoleCommand(const AString & a_Command, cPlugin * a_P
{
if (cmd->second.m_Plugin == NULL)
{
- LOGWARNING("Console command \"%s\" is already bound internally by MCServer.", a_Command.c_str());
+ LOGWARNING("Console command \"%s\" is already bound internally by MCServer, cannot bind in plugin \"%s\".", a_Command.c_str(), a_Plugin->GetName().c_str());
}
else
{
- LOGWARNING("Console command \"%s\" is already bound to plugin \"%s\".", a_Command.c_str(), cmd->second.m_Plugin->GetName().c_str());
+ LOGWARNING("Console command \"%s\" is already bound to plugin \"%s\", cannot bind in plugin \"%s\".", a_Command.c_str(), cmd->second.m_Plugin->GetName().c_str(), a_Plugin->GetName().c_str());
}
return false;
}