mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
[Rules] Add Rule to Enable Tells with #hideme (#2358)
With the recent changes to #hideme as of #2328, tells are disabled to hidden GMs, meaning a GM must show themselves in order to receive tells.
This commit is contained in:
+4
-3
@@ -3388,9 +3388,10 @@ void Client::SetHideMe(bool gm_hide_me)
|
||||
CreateDespawnPacket(&app, false);
|
||||
entity_list.RemoveFromTargets(this);
|
||||
trackable = false;
|
||||
tellsoff = true;
|
||||
}
|
||||
else {
|
||||
if (RuleB(Command, HideMeCommandDisablesTells)) {
|
||||
tellsoff = true;
|
||||
}
|
||||
} else {
|
||||
database.SetHideMe(AccountID(), false);
|
||||
CreateSpawnPacket(&app);
|
||||
trackable = true;
|
||||
|
||||
Reference in New Issue
Block a user