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:
parent
79183742f5
commit
e62d492bfe
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue