summaryrefslogtreecommitdiff
path: root/src/char_sql
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_sql
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_sql')
-rw-r--r--src/char_sql/char.c3
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) {