Here is where the membership packets are created:
https://github.com/EQEmu/Server/blob...lient.cpp#L193
You would need to edit the bitwise field for classes/races there.
Keep in mind that this would only affect RoF and RoF2 clients, not older clients such as Titanium, SoF, SoD, or UF.