diff options
author | shennetsind <ind@henn.et> | 2013-05-16 16:15:52 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-05-16 16:15:52 -0300 |
commit | 5b6579a21bf8f957d568e5ceb470ced2b0536e0e (patch) | |
tree | ee82a468fa60101e6d0c97a2e729adb141b9759e | |
parent | f03d4212e214245ab1b16c8d0ccb8e087f714f23 (diff) | |
download | hercules-5b6579a21bf8f957d568e5ceb470ced2b0536e0e.tar.gz hercules-5b6579a21bf8f957d568e5ceb470ced2b0536e0e.tar.bz2 hercules-5b6579a21bf8f957d568e5ceb470ced2b0536e0e.tar.xz hercules-5b6579a21bf8f957d568e5ceb470ced2b0536e0e.zip |
Fixed Bug #7250 item 2
Zopokx's
http://hercules.ws/board/tracker/issue-7250-cant-create-party-and-guild/
Signed-off-by: shennetsind <ind@henn.et>
-rw-r--r-- | src/char/int_party.c | 5 |
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; } |