From 078fdb975af299ae3bdecce54ef5ae91d52e2d54 Mon Sep 17 00:00:00 2001 From: Yizhe Shen Date: Tue, 24 Feb 2015 18:41:53 -0500 Subject: [PATCH] Fixed mistake in Storage.userLevelExists(). --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)