summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-09-25 10:14:17 +0200
committerMattes D <github@xoft.cz>2015-09-25 10:14:17 +0200
commit82d9ac1e1c95eb3421e062be2334308ee3837560 (patch)
tree110bd8fd9ee0f6f5b830694b5d7cc37257666988 /src/Bindings
parentMerge pull request #2478 from cuberite/FixArmBuild (diff)
downloadcuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar
cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar.gz
cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar.bz2
cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar.lz
cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar.xz
cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.tar.zst
cuberite-82d9ac1e1c95eb3421e062be2334308ee3837560.zip
Diffstat (limited to '')
-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
{