From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 11 Jun 2025 19:06:42 +0000 (+0200)
Subject: Minor refactoring.
X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/static/processes?a=commitdiff_plain;h=9be9f3ef8f7745fbe33cc6fffb74f11921f17f00;p=ircplom

Minor refactoring.
---

diff --git a/ircplom.py b/ircplom.py
index e9e532d..6afe9dd 100755
--- a/ircplom.py
+++ b/ircplom.py
@@ -957,7 +957,7 @@ class ConnectionLoop(Loop):
 
     def process_bonus(self, yielded: str) -> None:
         msg = IrcMessage.from_raw(yielded)
-        self.broadcast(EventType.RECV, (self._conn_idx, msg))
+        self._broadcast_conn(EventType.RECV, msg)
         if msg.verb == 'PING':
             self._send('PONG', (msg.parameters[0],))
         elif msg.verb == 'ERROR'\