aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2018-03-16 08:44:57 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2018-03-16 08:44:57 +0100
commit858c95630f799f23b06e845848faf241b7e010f0 (patch)
tree15ee41414a791173c59172ee87874c0f20b9cee9 /src
parent6c184947c3886ce80aa9eb9807a700025a344442 (diff)
downloadminetest-858c95630f799f23b06e845848faf241b7e010f0.tar.gz
minetest-858c95630f799f23b06e845848faf241b7e010f0.tar.bz2
minetest-858c95630f799f23b06e845848faf241b7e010f0.zip
Forgot to remove obsolete Server::m_mods
Diffstat (limited to 'src')
-rw-r--r--src/server.cpp2
-rw-r--r--src/server.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 519843e83..5b2f69df9 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -225,8 +225,6 @@ Server::Server(
m_script->loadMod(getBuiltinLuaPath() + DIR_DELIM "init.lua", BUILTIN_MOD_NAME);
- m_mods = m_modmgr->getMods();
-
m_modmgr->loadMods(m_script);
// Read Textures and calculate sha1 sums
diff --git a/src/server.h b/src/server.h
index 847642be9..5c942c20b 100644
--- a/src/server.h
+++ b/src/server.h
@@ -543,7 +543,6 @@ private:
// Mods
std::unique_ptr<ServerModManager> m_modmgr;
- std::vector<ModSpec> m_mods;
/*
Threads