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_ committed 2017-07-23 02:38:37 +02:00
1 parent 76bb15f9f3
commit 941cf81877
1 file changed
+1 -1
+1 -1
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