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:
parent
76bb15f9f3
commit
941cf81877
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user