diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/map.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/map/map.c b/src/map/map.c index dbe3937e8..bd0d97ece 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -157,7 +157,6 @@ char charhelp_txt[256] = "conf/charhelp.txt"; char wisp_server_name[NAME_LENGTH] = "Server"; // can be modified in char-server configuration file -int console = 0; int enable_spy = 0; //To enable/disable @spy commands, which consume too much cpu time when sending packets. [Skotlex] int enable_grf = 0; //To enable/disable reading maps from GRF files, bypassing mapcache [blackhole89] @@ -3328,11 +3327,7 @@ int map_config_read(char *cfgName) strcpy(charhelp_txt, w2); else if(strcmpi(w1,"db_path") == 0) safestrncpy(db_path,w2,255); - else if (strcmpi(w1, "console") == 0) { - console = config_switch(w2); - if (console) - ShowNotice("Console Commands are enabled.\n"); - } else if (strcmpi(w1, "enable_spy") == 0) + else if (strcmpi(w1, "enable_spy") == 0) enable_spy = config_switch(w2); else if (strcmpi(w1, "use_grf") == 0) enable_grf = config_switch(w2); @@ -3980,11 +3975,6 @@ int do_init(int argc, char *argv[]) npc_event_do_oninit(); // Init npcs (OnInit) - if( console ) - { - //##TODO invoke a CONSOLE_START plugin event - } - if (battle_config.pk_mode) ShowNotice("Server is running on '"CL_WHITE"PK Mode"CL_RESET"'.\n"); |