summaryrefslogtreecommitdiff
path: root/src/server.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-10-12 13:53:38 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-10-12 13:53:38 +0300
commit9e46cbf7ea512330f35d0f2ede0c7c0c085c7cf4 (patch)
treef937a97b67b5ecd0ee65ed9a845e6e4a640bb629 /src/server.h
parentb60b58b627f078faba002401d300b522e0077efc (diff)
downloadminetest-9e46cbf7ea512330f35d0f2ede0c7c0c085c7cf4.tar.gz
minetest-9e46cbf7ea512330f35d0f2ede0c7c0c085c7cf4.tar.bz2
minetest-9e46cbf7ea512330f35d0f2ede0c7c0c085c7cf4.zip
Header file tweaking; mainly for speed
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/server.h b/src/server.h
index 7065efacf..d51f91068 100644
--- a/src/server.h
+++ b/src/server.h
@@ -24,7 +24,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "environment.h"
#include "common_irrlicht.h"
#include <string>
-#include "utility.h"
#include "porting.h"
#include "map.h"
#include "inventory.h"
@@ -450,11 +449,7 @@ public:
}
// Saves g_settings to configpath given at initialization
- void saveConfig()
- {
- if(m_configpath != "")
- g_settings.updateConfigFile(m_configpath.c_str());
- }
+ void saveConfig();
void setIpBanned(const std::string &ip, const std::string &name)
{