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
This commit is contained in:
goeo_ 2017-07-23 02:38:37 +02:00
parent 76bb15f9f3
commit 941cf81877

View File

@ -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