summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2015-04-21 20:21:14 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2015-04-21 20:21:14 +0100
commitb568c0231c708431532aa385ebcc121e0a8ef986 (patch)
tree11226503f67692a47d43d4a7013ed6e9135f5fef /synapse
parentSanitise a user's powerlevel to an int() before numerical comparison, because... (diff)
downloadsynapse-b568c0231c708431532aa385ebcc121e0a8ef986.tar.xz
Remove debugging print statement accidentally committed
Diffstat (limited to 'synapse')
-rw-r--r--synapse/api/auth.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index c1b3ae1734..43b21897b9 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -275,7 +275,6 @@ class Auth(object):
                         403, "You cannot kick user %s." % target_user_id
                     )
         elif Membership.BAN == membership:
-            print "I wonder how user's level of %r compares to ban level of %r" % (user_level, ban_level)
             if user_level < ban_level:
                 raise AuthError(403, "You don't have permission to ban")
         else: