diff options
author | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-24 00:19:30 +0000 |
---|---|---|
committer | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-24 00:19:30 +0000 |
commit | b50b9537644c77a4a9e03e5ad0e8d7ee3a952401 (patch) | |
tree | 86a0c068a120ca8f3ce498a53c5d39f36d78ebd4 | |
parent | 41da3791cb4df1e0cffc1bb75d20f10f266763bb (diff) | |
download | hercules-b50b9537644c77a4a9e03e5ad0e8d7ee3a952401.tar.gz hercules-b50b9537644c77a4a9e03e5ad0e8d7ee3a952401.tar.bz2 hercules-b50b9537644c77a4a9e03e5ad0e8d7ee3a952401.tar.xz hercules-b50b9537644c77a4a9e03e5ad0e8d7ee3a952401.zip |
be fixed typo!!!
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@974 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | src/char_sql/char.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index d198bcb2e..df3c40bda 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -1219,11 +1219,11 @@ 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 - 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, all letters/symbols are authorised (except control char removed before) |