diff --git a/src/bot.py b/src/bot.py index 2f4d5d4..38a1dbd 100644 --- a/src/bot.py +++ b/src/bot.py @@ -181,7 +181,7 @@ async def message_callback(self, room: MatrixRoom, event: RoomMessageText) -> No tagged = True if self.user_id != event.sender and tagged: - if self.owner_id != sender_id or self.msg_limit[sender_id] > 10: + if self.owner_id != sender_id and self.msg_limit[sender_id] > 10: await send_room_message( self.client, room_id,