diff options
author | Haruna <haru@dotalux.com> | 2014-11-15 17:33:46 +0100 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2014-11-15 17:33:46 +0100 |
commit | 27cd926dd2f41e008da738e8d9259cd0c33a2f77 (patch) | |
tree | fc62c34bea003f6d5839996474485d51ddf98ad6 /src/login/login.c | |
parent | 47565d423f40f4fbbbb032dcc6fa2f6670bfafab (diff) | |
parent | 35d190c1927d4405507490ac1a34c3e324d47762 (diff) | |
download | hercules-27cd926dd2f41e008da738e8d9259cd0c33a2f77.tar.gz hercules-27cd926dd2f41e008da738e8d9259cd0c33a2f77.tar.bz2 hercules-27cd926dd2f41e008da738e8d9259cd0c33a2f77.tar.xz hercules-27cd926dd2f41e008da738e8d9259cd0c33a2f77.zip |
Merge pull request #389 from 4144/confplugins
Add support for plugin parameters in different config files (before was only battle config)
Diffstat (limited to 'src/login/login.c')
-rw-r--r-- | src/login/login.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/login/login.c b/src/login/login.c index b9de09fcd..2a322ba40 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -1843,10 +1843,11 @@ int login_config_read(const char* cfgName) 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); |