summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-15 11:43:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-15 19:09:30 +0300
commite599a53206c8e13bee7c2bf18cad0d8c6dda0883 (patch)
tree618f8795be861480be5759c6a745efaf0dfeab01
parent23d968ba2bcc856ada99ee9579fc0fdaafcc4426 (diff)
downloadhercules-e599a53206c8e13bee7c2bf18cad0d8c6dda0883.tar.gz
hercules-e599a53206c8e13bee7c2bf18cad0d8c6dda0883.tar.bz2
hercules-e599a53206c8e13bee7c2bf18cad0d8c6dda0883.tar.xz
hercules-e599a53206c8e13bee7c2bf18cad0d8c6dda0883.zip
In login server move config options handling by plugins after all other handling.
-rw-r--r--src/login/login.c5
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);