summaryrefslogtreecommitdiff
path: root/luamods/join.lua
diff options
context:
space:
mode:
Diffstat (limited to 'luamods/join.lua')
-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