1
0
Fork 0
mirror of https://gitlab.com/niansa/discord_llama.git synced 2025-03-06 20:48:25 +01:00

Fixed channel mode

This commit is contained in:
niansa/tuxifan 2023-05-18 00:03:50 +02:00
parent 79183742f5
commit e62d492bfe

View file

@ -731,7 +731,7 @@ public:
// Make sure message has content
if (event.msg.content.empty()) return;
// Ignore messges from channel on another shard
bool this_shard = false;
bool this_shard = is_on_own_shard(event.msg.channel_id);
db << "SELECT this_shard FROM threads "
"WHERE id = ?;"
<< std::to_string(event.msg.channel_id)