summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-11-02 16:09:40 -0700
committerJared Adams <jaxad0127@gmail.com>2009-11-02 16:09:40 -0700
commitd90bbe7517fd3bd51d4893cced5f20bcf314e601 (patch)
tree60869faeb76d67152605e8dec474de63e3cecb8f /src
parentcd1c927516c1944001cbdd2e9816526fc6430e37 (diff)
downloadtmwa-d90bbe7517fd3bd51d4893cced5f20bcf314e601.tar.gz
tmwa-d90bbe7517fd3bd51d4893cced5f20bcf314e601.tar.bz2
tmwa-d90bbe7517fd3bd51d4893cced5f20bcf314e601.tar.xz
tmwa-d90bbe7517fd3bd51d4893cced5f20bcf314e601.zip
Allow deleting characters despite email
Diffstat (limited to 'src')
-rw-r--r--src/char/char.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/char/char.c b/src/char/char.c
index c60305b..c632d1b 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -2778,12 +2778,12 @@ int parse_char(int fd) {
// otherwise, we delete the character
} else {
- if (strcmpi(email, sd->email) != 0) { // if it's an invalid email
+ /*if (strcmpi(email, sd->email) != 0) { // if it's an invalid email
WFIFOW(fd, 0) = 0x70;
WFIFOB(fd, 2) = 0; // 00 = Incorrect Email address
WFIFOSET(fd, 3);
// if mail is correct
- } else {
+ } else {*/
for (i = 0; i < 9; i++) {
struct mmo_charstatus *cs = NULL;
if (sd->found_char[i] >= 0 && (cs = &char_dat[sd->found_char[i]])->char_id == RFIFOL(fd,2)) {
@@ -2825,7 +2825,7 @@ int parse_char(int fd) {
WFIFOB(fd,2) = 0;
WFIFOSET(fd,3);
}
- }
+ //}
RFIFOSKIP(fd,46);
}
break;