mirror of
https://gitlab.com/niansa/discord_llama.git
synced 2025-03-06 20:48:25 +01:00
Fixed this_shard sqlite select
This commit is contained in:
parent
259053f7e0
commit
f9196ed18a
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -576,7 +576,7 @@ public:
|
|||
if (event.msg.content.empty()) return;
|
||||
// Ignore messges from channel on another shard
|
||||
bool this_shard = false;
|
||||
db << "SELECT model, instruct_mode, this_shard FROM threads "
|
||||
db << "SELECT this_shard FROM threads "
|
||||
"WHERE id = ?;"
|
||||
<< std::to_string(event.msg.channel_id)
|
||||
>> [&](int _this_shard) {
|
||||
|
|
Loading…
Add table
Reference in a new issue