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:26:02 +0300
commit35d190c1927d4405507490ac1a34c3e324d47762 (patch)
treefc62c34bea003f6d5839996474485d51ddf98ad6
parentee5f5980a70daf55e86cb02c5c70cfb08c3eb9c4 (diff)
downloadhercules-35d190c1927d4405507490ac1a34c3e324d47762.tar.gz
hercules-35d190c1927d4405507490ac1a34c3e324d47762.tar.bz2
hercules-35d190c1927d4405507490ac1a34c3e324d47762.tar.xz
hercules-35d190c1927d4405507490ac1a34c3e324d47762.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);