mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-03 22:42:17 +00:00
[Bug Fix] Fix Flag Updating with SetGMStatus() in Lua. (#2554)
# Notes - Perl was sending `UpdateAdmin()` after `SetGMStatus()`, Lua wasn't, so only Perl was updating properly. - Fix is to just put `UpdateAdmin()` inside `SetGMStatus()`.
This commit is contained in:
1 parent
5173a9179b
commit
e2dfbeb116
5 files changed
+32
-18
No files matched your search
+2
-2
@@ -707,7 +707,7 @@ public:
|
||||
inline int GetAccountCreation() const { return account_creation; }
|
||||
inline int16 Admin() const { return admin; }
|
||||
inline uint32 CharacterID() const { return character_id; }
|
||||
void UpdateAdmin(bool iFromDB = true);
|
||||
void UpdateAdmin(bool from_database = true);
|
||||
void UpdateWho(uint8 remove = 0);
|
||||
bool GMHideMe(Client* client = 0);
|
||||
|
||||
@@ -1554,7 +1554,7 @@ public:
|
||||
void LoadAccountFlags();
|
||||
void SetAccountFlag(std::string flag, std::string val);
|
||||
std::string GetAccountFlag(std::string flag);
|
||||
void SetGMStatus(int newStatus);
|
||||
void SetGMStatus(int16 new_status);
|
||||
float GetDamageMultiplier(EQ::skills::SkillType how_long_has_this_been_missing);
|
||||
void Consume(const EQ::ItemData *item, uint8 type, int16 slot, bool auto_consume);
|
||||
void PlayMP3(const char* fname);
|
||||
|
||||
Reference in new issue
Block a user