diff --git a/plugin.py b/plugin.py index 5088e8c..a56d644 100644 --- a/plugin.py +++ b/plugin.py @@ -2230,7 +2230,7 @@ class Storage: def userLevelExists(self, username, channel): usernameCanonical = ircutils.toLower(username) - channelCanonical = ircutils.toLower(username) + channelCanonical = ircutils.toLower(channel) c = self.conn.cursor() c.execute('''SELECT COUNT(id)