From 33e4f2773b43a04b388a5769d65d9173acdc992d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 3 Jul 2016 18:26:48 +0300 Subject: Add into travis configure option --enable-buildbot. Also disable all known default warnings if build bot option enabled. --- src/map/chrif.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/chrif.c') diff --git a/src/map/chrif.c b/src/map/chrif.c index 52af1137e..51e8e5143 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -236,11 +236,13 @@ void chrif_setpasswd(char *pwd) { // security check, prints warning if using default password void chrif_checkdefaultlogin(void) { +#ifndef BUILDBOT if (strcmp(chrif->userid, "s1")==0 && strcmp(chrif->passwd, "p1")==0) { ShowWarning("Using the default user/password s1/p1 is NOT RECOMMENDED.\n"); ShowNotice("Please edit your 'login' table to create a proper inter-server user/password (gender 'S')\n"); ShowNotice("and then edit your user/password in conf/map-server.conf (or conf/import/map_conf.txt)\n"); } +#endif } // sets char-server's ip address -- cgit v1.2.3-70-g09d2