diff options
author | shennetsind <ind@henn.et> | 2013-03-17 01:33:28 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-03-17 01:33:28 -0300 |
commit | 7032044f54ac44bab604e700ea1f76066432a2f4 (patch) | |
tree | afd2bd2bc4b33c084e630dc333ccbfd3ea30e73a /src/login/login.c | |
parent | 3b89a135dcde9779bd0537cd136a7c34cfadbe3f (diff) | |
download | hercules-7032044f54ac44bab604e700ea1f76066432a2f4.tar.gz hercules-7032044f54ac44bab604e700ea1f76066432a2f4.tar.bz2 hercules-7032044f54ac44bab604e700ea1f76066432a2f4.tar.xz hercules-7032044f54ac44bab604e700ea1f76066432a2f4.zip |
Follow up 3b89a135dcde9779bd0537cd136a7c34cfadbe3f
Dropping the not-used setting from the previous implementation.
http://hercules.ws/board/topic/272-re-introducing-console-input/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/login/login.c')
-rw-r--r-- | src/login/login.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/login/login.c b/src/login/login.c index 51bc7f29c..712fa0e31 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -1602,7 +1602,6 @@ void login_set_defaults() login_config.ip_sync_interval = 0; login_config.log_login = true; safestrncpy(login_config.date_format, "%Y-%m-%d %H:%M:%S", sizeof(login_config.date_format)); - login_config.console = false; login_config.new_account_flag = true; login_config.new_acc_length_limit = true; login_config.use_md5_passwds = false; @@ -1682,8 +1681,6 @@ int login_config_read(const char* cfgName) login_config.min_group_id_to_connect = atoi(w2); else if(!strcmpi(w1, "date_format")) safestrncpy(login_config.date_format, w2, sizeof(login_config.date_format)); - else if(!strcmpi(w1, "console")) - login_config.console = (bool)config_switch(w2); else if(!strcmpi(w1, "allowed_regs")) //account flood protection system allowed_regs = atoi(w2); else if(!strcmpi(w1, "time_allowed")) @@ -1910,10 +1907,6 @@ int do_init(int argc, char** argv) } } - if( login_config.console ) { - //##TODO invoke a CONSOLE_START plugin event - } - // server port open & binding if( (login_fd = make_listen_bind(login_config.login_ip,login_config.login_port)) == -1 ) { ShowFatalError("Failed to bind to port '"CL_WHITE"%d"CL_RESET"'\n",login_config.login_port); |