|
@@ -3190,7 +3190,8 @@ int do_init(int argc, char **argv)
|
|
|
char_sql_config_read(SQL_CONF_NAME);
|
|
|
msg_config_read(MSG_CONF_NAME_EN);
|
|
|
|
|
|
- if (strcmp(charserv_config.userid, "s1")==0 && strcmp(charserv_config.passwd, "p1")==0) {
|
|
|
+ // Skip this check if the server is run with run-once flag
|
|
|
+ if (runflag!=CORE_ST_STOP && strcmp(charserv_config.userid, "s1")==0 && strcmp(charserv_config.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_athena.conf (or conf/import/char_conf.txt)\n");
|