summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
author(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-24 00:18:10 +0000
committer(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-01-24 00:18:10 +0000
commit41da3791cb4df1e0cffc1bb75d20f10f266763bb (patch)
tree1ce552cf327c1d540a35e25f0798bb1ef27256ae /src/char_sql
parent60c5d7f50c39c55f1ac7121fb1391e4c49966824 (diff)
downloadhercules-41da3791cb4df1e0cffc1bb75d20f10f266763bb.tar.gz
hercules-41da3791cb4df1e0cffc1bb75d20f10f266763bb.tar.bz2
hercules-41da3791cb4df1e0cffc1bb75d20f10f266763bb.tar.xz
hercules-41da3791cb4df1e0cffc1bb75d20f10f266763bb.zip
typo
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@973 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 7c0f75737..d198bcb2e 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -1219,7 +1219,7 @@ int make_new_char_sql(int fd, unsigned char *dat) {
// Check Authorised letters/symbols in the name of the character
if (char_name_option == 1) { // only letters/symbols in char_name_letters are authorised
- for (i = 0; i < strlen(const char*dat); i++)
+ for (i = 0; i < strlen(const char*)dat); i++)
if (strchr(char_name_letters, dat[i]) == NULL)
return -1;
} else if (char_name_option == 2) { // letters/symbols in char_name_letters are forbidden