From 80b8a997fe104ba63120aa8758eb27467d1abd26 Mon Sep 17 00:00:00 2001 From: Joscha Date: Tue, 5 Sep 2017 22:34:25 +0000 Subject: [PATCH] Fix typo --- yaboli/room.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yaboli/room.py b/yaboli/room.py index 3902110..3f17968 100644 --- a/yaboli/room.py +++ b/yaboli/room.py @@ -302,7 +302,7 @@ class Room: logger.warn(f"&{self.roomname}: Throttled for reason: {packet.get('throttled_reason', 'no reason')!r}") if "error" in packet: - raise ResponseError(response.get("error")) + raise ResponseError(packet.get("error")) async def _handle_bounce(self, packet): """