Fix for revoke

This commit is contained in:
Jeremy Zhang 2017-03-26 02:25:28 -07:00
parent 4a09678a8d
commit 6ddf1b41de

View File

@ -27,7 +27,7 @@ def checkUserRevoke(guild_id, user_key=None):
return revoked return revoked
member = discord_api.get_guild_member(guild_id, session['user_id']) member = discord_api.get_guild_member(guild_id, session['user_id'])
if member['code'] == 200: if member['code'] == 200:
revoked = True revoked = False
return revoked return revoked
def checkUserBanned(guild_id, ip_address=None): def checkUserBanned(guild_id, ip_address=None):