mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Add spawn expansion filtering
This commit is contained in:
@@ -47,11 +47,11 @@ namespace ContentFilterCriteria {
|
||||
|
||||
std::string flags_in_filter;
|
||||
if (!flags.empty()) {
|
||||
flags_in_filter = fmt::format("OR content_flags IN ({})", implode(", ", flags));
|
||||
flags_in_filter = fmt::format(" OR content_flags IN ({})", implode(", ", flags));
|
||||
}
|
||||
|
||||
criteria += fmt::format(
|
||||
" AND (content_flags IS NULL {})",
|
||||
" AND (content_flags IS NULL{})",
|
||||
flags_in_filter
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user