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/char | |
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/char')
-rw-r--r-- | src/char/char.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/char/char.c b/src/char/char.c index 260f7a5cf..a059d08ea 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -148,8 +148,6 @@ unsigned int save_flag = 0; // Initial position (it's possible to set it in conf file) struct point start_point = { 0, 53, 111 }; -int console = 0; - //----------------------------------------------------- // Auth database //----------------------------------------------------- @@ -4721,8 +4719,6 @@ int char_config_read(const char* cfgName) char_del_delay = atoi(w2); } else if(strcmpi(w1,"db_path")==0) { safestrncpy(db_path, w2, sizeof(db_path)); - } else if (strcmpi(w1, "console") == 0) { - console = config_switch(w2); } else if (strcmpi(w1, "fame_list_alchemist") == 0) { fame_list_size_chemist = atoi(w2); if (fame_list_size_chemist > MAX_FAME_LIST) { @@ -4876,10 +4872,6 @@ int do_init(int argc, char **argv) add_timer_func_list(online_data_cleanup, "online_data_cleanup"); add_timer_interval(gettick() + 1000, online_data_cleanup, 0, 0, 600 * 1000); - if( console ) { - //##TODO invoke a CONSOLE_START plugin event - } - //Cleaning the tables for NULL entrys @ startup [Sirius] //Chardb clean if( SQL_ERROR == Sql_Query(sql_handle, "DELETE FROM `%s` WHERE `account_id` = '0'", char_db) ) |