summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-09-25 12:49:18 +0200
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-09-25 14:11:39 +0200
commitf1270cb7a1e70b29579380ad30d3fa5c4d41ee93 (patch)
tree5ce66d38d71c315ef7c91c0f55d7175bbe5db628 /src/Bindings
parentMerge pull request #2478 from cuberite/FixArmBuild (diff)
downloadcuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar.gz
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar.bz2
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar.lz
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar.xz
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.tar.zst
cuberite-f1270cb7a1e70b29579380ad30d3fa5c4d41ee93.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
{