diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-07-30 19:49:42 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-07-30 19:49:42 +0300 |
commit | cdadbdbd17d624dd45cca67f41309cbe776dc348 (patch) | |
tree | 332e7ee0975d25ce846d9d355dbb249255329220 /src/main.cpp | |
parent | 9b294ffa7a1f3cf7ee19111b7e5f4882f130dd21 (diff) | |
download | hax-minetest-server-cdadbdbd17d624dd45cca67f41309cbe776dc348.tar.gz hax-minetest-server-cdadbdbd17d624dd45cca67f41309cbe776dc348.zip |
Server configuration is now written when "/#setting whatever = whatever" is issued.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 9a9b22f87..3cc748954 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1302,7 +1302,7 @@ int main(int argc, char *argv[]) g_timegetter = new SimpleTimeGetter(); // Create server - Server server(map_dir.c_str()); + Server server(map_dir.c_str(), configpath); server.start(port); // Run server @@ -1641,7 +1641,8 @@ int main(int argc, char *argv[]) password, address, port, - error_message + error_message, + configpath ); } //try |