summaryrefslogtreecommitdiff
path: root/src/clientserver.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-10-15 15:02:28 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-10-15 15:02:28 +0300
commit94dfececf6b4cf5d996ff2a12e7801bd640b1a57 (patch)
treeb0e6ac7c3f7463c0822cc37c350c8025dfe87382 /src/clientserver.h
parent74febd5c31c20369a35a82e9a36e50f18562ce9f (diff)
downloadminetest-94dfececf6b4cf5d996ff2a12e7801bd640b1a57.tar.gz
minetest-94dfececf6b4cf5d996ff2a12e7801bd640b1a57.tar.bz2
minetest-94dfececf6b4cf5d996ff2a12e7801bd640b1a57.zip
strict_protocol_version_checking setting; PROTOCOL_VERSION in clientserver.h; clean up defaultsettings.cpp and minetest.conf.example
Diffstat (limited to 'src/clientserver.h')
-rw-r--r--src/clientserver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/clientserver.h b/src/clientserver.h
index b96cc61aa..0f6925696 100644
--- a/src/clientserver.h
+++ b/src/clientserver.h
@@ -22,6 +22,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "utility.h"
+#define PROTOCOL_VERSION 3
+
#define PROTOCOL_ID 0x4f457403
#define PASSWORD_SIZE 28 // Maximum password length. Allows for