summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2016-04-28 15:09:11 +0100
committerMatthew Hodgson <matthew@matrix.org>2016-04-28 15:09:25 +0100
commitaebd0c97179adb867401ce8b8e558758e7b87243 (patch)
tree199a0ba7711bcee140ccb7944da46fa7800276ca /synapse
parentMerge pull request #756 from matrix-org/markjh/more_metrics (diff)
downloadsynapse-aebd0c97179adb867401ce8b8e558758e7b87243.tar.xz
fix typo
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/room_member.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py
index b69f36aefe..ed2cda837f 100644
--- a/synapse/handlers/room_member.py
+++ b/synapse/handlers/room_member.py
@@ -232,7 +232,7 @@ class RoomMemberHandler(BaseHandler):
         if old_membership == "ban" and action != "unban":
             raise SynapseError(
                 403,
-                "Cannot %s user who was is banned" % (action,),
+                "Cannot %s user who was banned" % (action,),
                 errcode=Codes.BAD_STATE
             )