summaryrefslogtreecommitdiff
path: root/luamods
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-07-02 03:32:50 +0500
committerilotterytea <iltsu@alright.party>2025-07-02 03:32:50 +0500
commit94fede466d8d77f53e5c49215fc8ad99a30610f9 (patch)
tree94586a05474481faa9fbb0bb99f0cc90f9004fe7 /luamods
parent79be89ad0491bfdd110b2c612e21a0f28c29fa87 (diff)
feat: silent mode in features
Diffstat (limited to 'luamods')
-rw-r--r--luamods/join.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/luamods/join.lua b/luamods/join.lua
index e663c96..e18660c 100644
--- a/luamods/join.lua
+++ b/luamods/join.lua
@@ -104,7 +104,7 @@ return {
)
else
local db_channel = db_query('SELECT id FROM channels WHERE alias_id = $1', { channel_id })[1]
- db_execute('INSERT IGNORE INTO channel_preferences(channel_id, is_channel_silenced) VALUES ($1, $2)',
+ db_execute('INSERT IGNORE INTO channel_preferences(id, silent_mode) VALUES ($1, $2)',
{ db_channel.id, silent_mode })
end