[Bug Fix] Fix issue with #suspend (#4314)

* [Bug Fix] Fix issue with #suspend

* Add suspension clearing

* Update character_data_repository.h

* Final push.
This commit is contained in:
Alex King
2024-05-23 16:45:21 -04:00
committed by GitHub
parent e26d17182e
commit e33e076b2a
8 changed files with 85 additions and 47 deletions
+1 -1
View File
@@ -1849,7 +1849,7 @@ void Client::FriendsWho(char *FriendsString) {
void Client::UpdateAdmin(bool from_database) {
int16 tmp = admin;
if (from_database) {
admin = database.CheckStatus(account_id);
admin = database.GetAccountStatus(account_id);
}
if (tmp == admin && from_database) {