From ef5d339ba4b7f4ccbc332023367f325c2108bffc Mon Sep 17 00:00:00 2001 From: hemagx Date: Mon, 25 Apr 2016 02:50:32 +0200 Subject: Reduced the MAX_MAP_SERVERS setting to 1 Multi-zone support is deprecated and should not be used on a production server. --- src/char/char.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/char/char.c') 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 #include +#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"; -- cgit v1.2.3-70-g09d2