From 35d190c1927d4405507490ac1a34c3e324d47762 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(-) (limited to 'src/login') 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-60-g2f50