summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-18 15:05:26 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-18 15:05:26 +0000
commite1c6063f5c4072a4273f7dc9580df96c402045cb (patch)
treedc1e481d81adf5d8867b888a68d38ef02d768592 /src/char_sql
parentd2ed6a9218ffe6b2cd1889a12e265809f4573ff4 (diff)
downloadhercules-e1c6063f5c4072a4273f7dc9580df96c402045cb.tar.gz
hercules-e1c6063f5c4072a4273f7dc9580df96c402045cb.tar.bz2
hercules-e1c6063f5c4072a4273f7dc9580df96c402045cb.tar.xz
hercules-e1c6063f5c4072a4273f7dc9580df96c402045cb.zip
- Added character 013 (enter) to the list of characters that are always removed from new character names.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7732 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/char.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index e390cd4e8..2a3259f7d 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -90,7 +90,7 @@ int name_ignoring_case = 0; // Allow or not identical name for characters but wi
int char_name_option = 0; // Option to know which letters/symbols are authorised in the name of a character (0: all, 1: only those in char_name_letters, 2: all EXCEPT those in char_name_letters) by [Yor]
char char_name_letters[1024] = ""; // list of letters/symbols used to authorise or not a name of a character. by [Yor]
//The following are characters that are trimmed regardless because they cause confusion and problems on the servers. [Skotlex]
-#define TRIM_CHARS "\032\t\n "
+#define TRIM_CHARS "\032\t\n\013 "
int char_per_account = 0; //Maximum charas per account (default unlimited) [Sirius]
int log_char = 1; // loggin char or not [devil]
@@ -3034,7 +3034,7 @@ int parse_frommap(int fd) {
}
// no inter server packet. no char server packet -> disconnect
- ShowError("Unknown packet 0x%04x ( %s ) from map server, disconnecting.\n", RFIFOW(fd,0), (char*)RFIFOP(fd,0));
+ ShowError("Unknown packet 0x%04x from map server, disconnecting.\n", RFIFOW(fd,0));
session[fd]->eof = 1;
return 0;
}