From e599a53206c8e13bee7c2bf18cad0d8c6dda0883 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 15 Nov 2014 11:43:46 +0300 Subject: In login server move config options handling by plugins after all other handling. --- src/login/login.c | 5 ++--- 1 file 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); -- cgit v1.2.3-70-g09d2