From f325738db0ff69176476cac7f11e0460bfdbcba4 Mon Sep 17 00:00:00 2001 From: ultramage Date: Tue, 7 Aug 2007 21:54:12 +0000 Subject: Some minor typo fixing. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10960 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char_sql/char.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/char_sql') 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) { -- cgit v1.2.3-70-g09d2