diff options
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r-- | src/char_sql/char.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index fc2b11288..430f0832a 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -3917,8 +3917,7 @@ int char_config_read(const char* cfgName) } else if (strcmpi(w1, "char_del_level") == 0) { //disable/enable char deletion by its level condition [Lupus] char_del_level = atoi(w2); } else if (strcmpi(w1, "console") == 0) { - if(strcmpi(w2,"on") == 0 || strcmpi(w2,"yes") == 0 ) - console = 1; + 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) { |