summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2017-05-19 07:45:47 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-05-19 07:45:47 +0200
commit674400523e10624ae8320b0d18a05dbfd6dcac42 (patch)
tree952662707e04d276ee8b68dc30c81f29c7519d4c /src
parente25a38e3fbb156ae2bc72cc66aef014ae3963407 (diff)
downloadminetest-674400523e10624ae8320b0d18a05dbfd6dcac42.tar.gz
minetest-674400523e10624ae8320b0d18a05dbfd6dcac42.tar.bz2
minetest-674400523e10624ae8320b0d18a05dbfd6dcac42.zip
Mainmenu: Fix issues while trying to enable all mods (#5770)
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp2
-rw-r--r--src/server.cpp2
-rw-r--r--src/serverenvironment.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 6ab4002a5..5f2d2d9d2 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -171,7 +171,7 @@ void Client::initMods()
if (!string_allowed(mod.name, MODNAME_ALLOWED_CHARS)) {
throw ModError("Error loading mod \"" + mod.name +
"\": Mod name does not follow naming conventions: "
- "Only chararacters [a-z0-9_] are allowed.");
+ "Only characters [a-z0-9_] are allowed.");
}
std::string script_path = mod.path + DIR_DELIM + "init.lua";
infostream << " [" << padStringRight(mod.name, 12) << "] [\""
diff --git a/src/server.cpp b/src/server.cpp
index 5400dd595..6889451d9 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -283,7 +283,7 @@ Server::Server(
if (!string_allowed(mod.name, MODNAME_ALLOWED_CHARS)) {
throw ModError("Error loading mod \"" + mod.name +
"\": Mod name does not follow naming conventions: "
- "Only chararacters [a-z0-9_] are allowed.");
+ "Only characters [a-z0-9_] are allowed.");
}
std::string script_path = mod.path + DIR_DELIM + "init.lua";
infostream << " [" << padStringRight(mod.name, 12) << "] [\""
diff --git a/src/serverenvironment.cpp b/src/serverenvironment.cpp
index 4d2c87a4d..892c6c55b 100644
--- a/src/serverenvironment.cpp
+++ b/src/serverenvironment.cpp
@@ -141,7 +141,7 @@ void LBMManager::addLBMDef(LoadingBlockModifierDef *lbm_def)
if (!string_allowed(lbm_def->name, LBM_NAME_ALLOWED_CHARS)) {
throw ModError("Error adding LBM \"" + lbm_def->name +
"\": Does not follow naming conventions: "
- "Only chararacters [a-z0-9_:] are allowed.");
+ "Only characters [a-z0-9_:] are allowed.");
}
m_lbm_defs[lbm_def->name] = lbm_def;