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