summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-09-25 13:12:55 +0200
committerMattes D <github@xoft.cz>2015-09-25 13:12:55 +0200
commit7f618199710a4159973d34b7b872fe9d8b7010b6 (patch)
tree110bd8fd9ee0f6f5b830694b5d7cc37257666988 /src/Bindings
parentMerge pull request #2478 from cuberite/FixArmBuild (diff)
parentNamechange to Cuberite (diff)
downloadcuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar
cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar.gz
cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar.bz2
cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar.lz
cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar.xz
cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.tar.zst
cuberite-7f618199710a4159973d34b7b872fe9d8b7010b6.zip
Diffstat (limited to 'src/Bindings')
-rw-r--r--src/Bindings/PluginLua.h4
-rw-r--r--src/Bindings/PluginManager.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h
index 4344b36ac..1312103b8 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -14,8 +14,8 @@
#include "LuaState.h"
// Names for the global variables through which the plugin is identified in its LuaState
-#define LUA_PLUGIN_NAME_VAR_NAME "_MCServerInternal_PluginName"
-#define LUA_PLUGIN_INSTANCE_VAR_NAME "_MCServerInternal_PluginInstance"
+#define LUA_PLUGIN_NAME_VAR_NAME "_CuberiteInternal_PluginName"
+#define LUA_PLUGIN_INSTANCE_VAR_NAME "_CuberiteInternal_PluginInstance"
diff --git a/src/Bindings/PluginManager.cpp b/src/Bindings/PluginManager.cpp
index 026865f5b..72e031b33 100644
--- a/src/Bindings/PluginManager.cpp
+++ b/src/Bindings/PluginManager.cpp
@@ -1761,7 +1761,7 @@ bool cPluginManager::BindConsoleCommand(const AString & a_Command, cPlugin * a_P
{
if (cmd->second.m_Plugin == nullptr)
{
- LOGWARNING("Console command \"%s\" is already bound internally by MCServer, cannot bind in plugin \"%s\".", a_Command.c_str(), a_Plugin->GetName().c_str());
+ LOGWARNING("Console command \"%s\" is already bound internally by Cuberite, cannot bind in plugin \"%s\".", a_Command.c_str(), a_Plugin->GetName().c_str());
}
else
{