From 941cf818777b0b8a51e6ae8c5e3d18e48b42495c Mon Sep 17 00:00:00 2001 From: goeo_ Date: Sun, 23 Jul 2017 02:38:37 +0200 Subject: [PATCH] Parenthesis haha coding on windows sucks because the easiest way to test the code is to push the code then pull it from my dev server --- irc/ircserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/ircserver.py b/irc/ircserver.py index 7d4ee36..371b318 100644 --- a/irc/ircserver.py +++ b/irc/ircserver.py @@ -311,7 +311,7 @@ class Client: return # Make sure that the user is not banned/restricted: - privileges = glob.db.fetch("SELECT privileges FROM users WHERE username = %s LIMIT 1", [self.supposedUsername] + privileges = glob.db.fetch("SELECT privileges FROM users WHERE username = %s LIMIT 1", [self.supposedUsername]) if privileges & 3 != 3: self.reply("465 :You're banned") return