summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
authorhemagx <hemagx2@gmail.com>2016-04-25 02:50:32 +0200
committerhemagx <hemagx2@gmail.com>2016-04-25 02:50:32 +0200
commitef5d339ba4b7f4ccbc332023367f325c2108bffc (patch)
tree76e77c4c95561cb55833590ce34ecd4a70d4d1d9 /src/char/char.c
parent6fbd119b63d166f3ab3435fb275259882e3ee2e8 (diff)
downloadhercules-ef5d339ba4b7f4ccbc332023367f325c2108bffc.tar.gz
hercules-ef5d339ba4b7f4ccbc332023367f325c2108bffc.tar.bz2
hercules-ef5d339ba4b7f4ccbc332023367f325c2108bffc.tar.xz
hercules-ef5d339ba4b7f4ccbc332023367f325c2108bffc.zip
Reduced the MAX_MAP_SERVERS setting to 1
Multi-zone support is deprecated and should not be used on a production server.
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 929473e33..8f3d5b0c9 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -62,6 +62,14 @@
#include <stdlib.h>
#include <sys/types.h>
+#if MAX_MAP_SERVERS > 1
+# ifdef _MSC_VER
+# pragma message("WARNING: your settings allow more than one map server to connect, this is deprecated dangerous feature USE IT AT YOUR OWN RISK")
+# else
+# warning your settings allow more than one map server to connect, this is deprecated dangerous feature USE IT AT YOUR OWN RISK
+# endif
+#endif
+
// private declarations
char char_db[256] = "char";
char scdata_db[256] = "sc_data";