Skip to content

Commit

Permalink
Update ioguild.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Luan Luciano authored Jan 26, 2024
1 parent 26c2236 commit c3e7a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/ioguild.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ uint32_t IOGuild::getGuildIdByName(const std::string &name) {

void IOGuild::getWarList(uint32_t guildId, GuildWarVector &guildWarVector) {
std::ostringstream query;
query << "SELECT `guild1`, `guild2` FROM `guild_wars` WHERE (`guild1` = " << guildId << " OR `guild2` = " << guildId << ") AND `ended` = 0 AND `status` = 1";
query << "SELECT `guild1`, `guild2` FROM `guild_wars` WHERE (`guild1` = " << guildId << " OR `guild2` = " << guildId << ") AND `status` = 1";

DBResult_ptr result = Database::getInstance().storeQuery(query.str());
if (!result) {
Expand Down

0 comments on commit c3e7a0d

Please sign in to comment.