summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-04 20:58:57 -0300
committershennetsind <ind@henn.et>2013-07-04 20:58:57 -0300
commit88da261c4cf6f984252adb46a1b780a9aeeb8ccc (patch)
treebd17a1f2962bc378790e6a2862040f6cc35b043c /src/login
parente883e2b4d23cea61fc9f84a075248e999e071928 (diff)
downloadhercules-88da261c4cf6f984252adb46a1b780a9aeeb8ccc.tar.gz
hercules-88da261c4cf6f984252adb46a1b780a9aeeb8ccc.tar.bz2
hercules-88da261c4cf6f984252adb46a1b780a9aeeb8ccc.tar.xz
hercules-88da261c4cf6f984252adb46a1b780a9aeeb8ccc.zip
Fixed Bug #7476
http://hercules.ws/board/tracker/issue-7476-failed-to-start-login-server/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/login')
-rw-r--r--src/login/login.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 2d84ef58f..a17faa058 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -1668,6 +1668,9 @@ int login_config_read(const char* cfgName)
login_config_read(w2);
else
{
+ AccountDB* db = account_engine[0].db;
+ if( db )
+ db->set_property(db, w1, w2);
ipban_config_read(w1, w2);
loginlog_config_read(w1, w2);
}