summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-07 21:54:12 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-07 21:54:12 +0000
commitf325738db0ff69176476cac7f11e0460bfdbcba4 (patch)
tree75da73a61dddf03c54ba7d1ddd5b6d35c6439288 /src/char
parent77fd5cb10e8e63ce973cb7bd56a3ad4dabb58f90 (diff)
downloadhercules-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')
-rw-r--r--src/char/char.c3
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) {