Rename send_message() to send()

This commit is contained in:
Salad Dais
2021-12-09 05:30:12 +00:00
parent f4bb9eae8f
commit 8b93c5eefa
19 changed files with 44 additions and 41 deletions

View File

@@ -126,14 +126,14 @@ class MessageMirrorAddon(BaseAddon):
# Send the message normally first if we're mirroring
if message.name in MIRROR:
region.circuit.send_message(message)
region.circuit.send(message)
# We're going to send the message on a new circuit, we need to take
# it so we get a new packet ID and clean ACKs
message = message.take()
self._lludp_fixups(target_session, message)
target_region.circuit.send_message(message)
target_region.circuit.send(message)
return True
def _lludp_fixups(self, target_session: Session, message: Message):