summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
Diffstat (limited to 'src/char')
-rw-r--r--src/char/int_party.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/char/int_party.c b/src/char/int_party.c
index 29b00e0a9..9cb4ccf80 100644
--- a/src/char/int_party.c
+++ b/src/char/int_party.c
@@ -476,6 +476,11 @@ int mapif_parse_CreateParty(int fd, char *name, int item, int item2, struct part
if (char_name_option == 1) { // only letters/symbols in char_name_letters are authorised
for (i = 0; i < NAME_LENGTH && name[i]; i++)
if (strchr(char_name_letters, name[i]) == NULL) {
+ if( name[i] == '"' ) { /* client-special-char */
+ normalize_name(name,"\"");
+ mapif_parse_CreateParty(fd,name,item,item2,leader);
+ return 0;
+ }
mapif_party_created(fd,leader->account_id,leader->char_id,NULL);
return 0;
}