mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 13:16:39 +00:00
[Expansion] Content Filtering Adjustments (#1910)
* Change default expansion values for ALL to -1 from 0 * Adjust content_filter_criteria * Refactor content filtering logic * Allow flag strings to also just be empty instead of null * Formatting * Editor oops
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#include "../client.h"
|
||||
#include "../worldserver.h"
|
||||
|
||||
extern WorldServer worldserver;
|
||||
|
||||
void command_reloadcontentflags(Client *c, const Seperator *sep)
|
||||
{
|
||||
if (c) {
|
||||
auto pack = new ServerPacket(ServerOP_ReloadContentFlags, 0);
|
||||
worldserver.SendPacket(pack);
|
||||
c->Message(Chat::Red, "Successfully sent the packet to world to reload content flags globally.");
|
||||
safe_delete(pack);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user