Commit 99c4b635 authored by Deuce's avatar Deuce 👌🏾

Change name *and* real_name to 'X' when deleting a users.

Deleted users would be "properly" loaded as 'X' which would mean
they wouldn't show up in rankings and couldn't be attacked.
parent 9945f0d7
......@@ -2856,6 +2856,7 @@ function daily_maint()
}
else if (settings.del_1xp && pl.exp === 1 && pl.drag_kills === 0) {
pl.name = 'X';
pl.real_name = 'X';
pl.put();
killmail(pl.Record);
if (state.married_to_seth === i) {
......@@ -2879,6 +2880,7 @@ function daily_maint()
}
else if (settings.delete_days > 0 && pl.time < (state.days - settings.delete_days)) {
pl.name = 'X';
pl.real_name = 'X';
pl.put();
killmail(pl.Record);
if (state.married_to_seth === i) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment