diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-08-07 21:54:12 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-08-07 21:54:12 +0000 |
commit | f325738db0ff69176476cac7f11e0460bfdbcba4 (patch) | |
tree | 75da73a61dddf03c54ba7d1ddd5b6d35c6439288 /src/char/char.c | |
parent | 77fd5cb10e8e63ce973cb7bd56a3ad4dabb58f90 (diff) | |
download | hercules-f325738db0ff69176476cac7f11e0460bfdbcba4.tar.gz hercules-f325738db0ff69176476cac7f11e0460bfdbcba4.tar.bz2 hercules-f325738db0ff69176476cac7f11e0460bfdbcba4.tar.xz hercules-f325738db0ff69176476cac7f11e0460bfdbcba4.zip |
Some minor typo fixing.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10960 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char/char.c')
-rw-r--r-- | src/char/char.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/char/char.c b/src/char/char.c index dd5a63009..4ae02e360 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -4139,8 +4139,7 @@ int char_config_read(const char *cfgName) } else if(strcmpi(w1,"db_path")==0) { strcpy(db_path,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) { |