Add SetGMStatus to LUA, cleanup unused variable, cleanup naming of new function added to Client class, remove unneeded return on void function. (#1471)

* Fix issue #1469 - remove unused variable in perl_client

* Add SetGMStatus to LUA, clean up naming in client.cpp to be consistent with the perl/lua naming, remove unneeded return in void function

* Delete PERL_CLIENT.ipch
This commit is contained in:
E Spause authored and GitHub committed 2021-07-26 13:03:17 -04:00
1 parent 8696ba398b
commit 792a3b1443
5 files changed
+11 -7

No files matched your search

+1 -3
View File
@@ -10241,9 +10241,7 @@ void Client::RemoveItem(uint32 item_id, uint32 quantity)
}
}
void Client::SetAdminStatus(int newStatus) {
void Client::SetGMStatus(int newStatus) {
if (this->Admin() != newStatus)
database.UpdateGMStatus(this->AccountID(), newStatus);
return;
}