From 612f6311df2f6cc484a4c4aa2d8f31ad73fe0985 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 22 Dec 2021 18:06:33 -0300 Subject: [TMW] Vault Hack --- src/char/char.c | 7 +++++-- 1 file 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 -- cgit v1.2.3-70-g09d2