summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-03 18:26:48 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-03 18:26:48 +0300
commit33e4f2773b43a04b388a5769d65d9173acdc992d (patch)
tree079605f8be0d501022846a371a503f7e6300a519 /src/char
parentdf05163715bd33dfe7a50d1f68f0ed997b281923 (diff)
downloadhercules-33e4f2773b43a04b388a5769d65d9173acdc992d.tar.gz
hercules-33e4f2773b43a04b388a5769d65d9173acdc992d.tar.bz2
hercules-33e4f2773b43a04b388a5769d65d9173acdc992d.tar.xz
hercules-33e4f2773b43a04b388a5769d65d9173acdc992d.zip
Add into travis configure option --enable-buildbot.
Also disable all known default warnings if build bot option enabled.
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 613a3deec..5f92e37bf 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -5815,11 +5815,13 @@ int do_init(int argc, char **argv) {
sockt->net_config_read(chr->NET_CONF_NAME);
chr->sql_config_read(chr->SQL_CONF_NAME);
+#ifndef BUILDBOT
if (strcmp(chr->userid, "s1")==0 && strcmp(chr->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 change the user/password to use in conf/char-server.conf (or conf/import/char_conf.txt)\n");
}
+#endif
inter->init_sql(chr->INTER_CONF_NAME); // inter server configuration