[Commands] Cleanup #oocmute Command. (#2191)

- Cleanup messages and logic.
- Add ServerOOCMute_Struct for cleanliness.
This commit is contained in:
Kinglykrab
2022-05-27 14:38:40 -04:00
committed by GitHub
parent 49d751b3d5
commit f9191d4ef4
4 changed files with 25 additions and 10 deletions
+2 -1
View File
@@ -958,7 +958,8 @@ void WorldServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p)
break;
}
case ServerOP_OOCMute: {
oocmuted = *(pack->pBuffer);
auto o = (ServerOOCMute_Struct *) pack->pBuffer;
oocmuted = o->is_muted;
break;
}
case ServerOP_Revoke: {