[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 authored and GitHub committed 2024-05-23 16:45:21 -04:00
1 parent e26d17182e
commit e33e076b2a
8 files changed
+85 -47

No files matched your search

+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) {