Update Database.py

This commit is contained in:
dongfix 2018-08-31 16:10:16 +01:00 committed by GitHub
parent 6e400a5470
commit faff26f58a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -225,7 +225,7 @@ class UserChannelSettings(Table):
user_channel_settings.value FROM user_channel_settings.value FROM
user_channel_settings INNER JOIN channels ON user_channel_settings INNER JOIN channels ON
user_channel_settings.channel_id=channels.channel_id user_channel_settings.channel_id=channels.channel_id
INNER JOIN users on user_channel_setting.user_id=users.user_id INNER JOIN users on user_channel_settings.user_id=users.user_id
WHERE user_channel_settings.setting=? AND WHERE user_channel_settings.setting=? AND
users.server_id=?""", [setting, server_id]) users.server_id=?""", [setting, server_id])
if values: if values: