patch 9a24eaf9120521752a95f20b03135a0fbba756c7 Author: E. Bosch Date: Sun Jan 30 21:28:27 CET 2022 * irc: In LIST command fix wrong topic info (bad use of entity cache) diff -rN -u old-irgramd/irc.py new-irgramd/irc.py --- old-irgramd/irc.py 2024-11-22 20:22:35.049844320 +0100 +++ new-irgramd/irc.py 2024-11-22 20:22:35.049844320 +0100 @@ -228,7 +228,6 @@ async def handle_irc_list(self, user, channels): self.logger.debug('Handling LIST: %s', channels) - entity_cache = [None] if channels: chans = channels.split(',') @@ -241,7 +240,7 @@ if chan in self.irc_channels.keys(): real_chan = self.get_realcaps_name(chan) users_count = len(self.irc_channels[chan]) - topic = await self.tg.get_channel_topic(chan, entity_cache) + topic = await self.tg.get_channel_topic(chan, [None]) await self.reply_code(user, 'RPL_LIST', (real_chan, users_count, topic)) await self.reply_code(user, 'RPL_LISTEND')