mirror of
https://gitlab.com/niansa/SomeBot.git
synced 2025-03-06 20:48:26 +01:00
Fixed sql logic error
This commit is contained in:
parent
135fdbe21e
commit
a6f7616372
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ public:
|
|||
bot->db << "SELECT category, channel_name, management_role, ping FROM ticket_guild_settings "
|
||||
"WHERE id = ?;"
|
||||
<< std::to_string(event.command.guild_id)
|
||||
>> std::tie(category_id, channel_name, management_role);
|
||||
>> std::tie(category_id, channel_name, management_role, ping);
|
||||
// Remove management ping if management role is unknown
|
||||
if (management_role.empty()) {
|
||||
ping &= ~PingMode::managers;
|
||||
|
|
Loading…
Add table
Reference in a new issue