mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 21:17:16 +00:00
Make sure character soft deletes do not reserve name once deleted, add optional retro script to run for servers who had soft deletes running prior to this commit
This commit is contained in:
1 parent
c6ba29f2e5
commit
c82d08cf11
2 files changed
+13
No files matched your search
@@ -371,6 +371,7 @@ bool Database::DeleteCharacter(char *character_name) {
|
||||
UPDATE
|
||||
character_data
|
||||
SET
|
||||
name = SUBSTRING(CONCAT(name, '-deleted-', UNIX_TIMESTAMP()), 1, 64),
|
||||
deleted_at = NOW()
|
||||
WHERE
|
||||
id = '{}'
|
||||
|
||||
Reference in new issue
Block a user