diff options
Diffstat (limited to 'src/login_sql')
-rw-r--r-- | src/login_sql/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c index 07fed4836..4f8a8d1b2 100644 --- a/src/login_sql/login.c +++ b/src/login_sql/login.c @@ -2279,7 +2279,7 @@ int do_init(int argc,char **argv){ //read login configue
login_config_read( (argc>1)?argv[1]:LOGIN_CONF_NAME );
sql_config_read(SQL_CONF_NAME);
- login_lan_config_read((argc > 1) ? argv[1] : LAN_CONF_NAME);
+ login_lan_config_read((argc > 2) ? argv[2] : LAN_CONF_NAME);
//Generate Passworded Key.
ShowInfo("Initializing md5key...\n");
memset(md5key, 0, sizeof(md5key));
|