summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/char/char.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/char/char.c b/src/char/char.c
index b3de22c00..b13a483c1 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -4912,8 +4912,11 @@ static void char_parse_char_delete_char(int fd, struct char_session_data *sd, un
|| (strcmp("a@a.com", email) != 0 && strcmp("", email) != 0) /* sent email isn't the default */
)) {
//Fail
- chr->delete_char_failed(fd, 0);
- return;
+ /* TMW Vault Hack */
+ if (strstr(sd->email, "@tmw2.org") == NULL || strstr(sd->email, "~vault") == NULL) {
+ chr->delete_char_failed(fd, 0);
+ return;
+ }
}
// check if this char exists