mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Doh %%
This commit is contained in:
parent
316507adaf
commit
0bbf9d518e
@ -3949,7 +3949,7 @@ void command_faction(Client *c, const Seperator *sep)
|
||||
query = "SELECT `id`,`name` FROM `faction_list`";
|
||||
}
|
||||
else {
|
||||
query = fmt::format("SELECT `id`,`name` FROM `faction_list` WHERE `name` LIKE '{}'", faction_filter.c_str());
|
||||
query = fmt::format("SELECT `id`,`name` FROM `faction_list` WHERE `name` LIKE '%{}%'", faction_filter.c_str());
|
||||
}
|
||||
auto results = database.QueryDatabase(query);
|
||||
if (!results.Success())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user