diff options
-rw-r--r-- | src/login/login.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/login/login.c b/src/login/login.c index 2cda77819..2a322ba40 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -1840,15 +1840,14 @@ int login_config_read(const char* cfgName) } else if(!strcmpi(w1, "import")) login_config_read(w2); - else if(HPM->parseConf(w1, w2, HPCT_LOGIN)) - ; // handled by plugin else { AccountDB* db = account_engine[0].db; - if( db ) + if (db) db->set_property(db, w1, w2); ipban_config_read(w1, w2); loginlog_config_read(w1, w2); + HPM->parseConf(w1, w2, HPCT_LOGIN); } } fclose(fp); |