Skip to content

Commit

Permalink
Actually pass the recursion limiter
Browse files Browse the repository at this point in the history
  • Loading branch information
olijeffers0n committed Dec 22, 2021
1 parent dbafce2 commit 67720a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustplus/api/remote/rustws.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ async def send_message(self, request : AppRequest, depth = 1) -> None:
if not self.open or depth >= 10:
raise ClientNotConnectedError("Not Connected")
self.connect()
await self.send_message(request=request)
await self.send_message(request=request, depth=depth + 1)

async def get_response(self, seq) -> AppMessage:
"""
Expand Down

0 comments on commit 67720a5

Please sign in to comment.