Skip to content

Commit

Permalink
Fix MYINFO response
Browse files Browse the repository at this point in the history
Respond to MYINFO with four distinct parameters, not one with all
parameters concatenated.

This was breaking Huggle, per phab:T378667, also see
huggle/huggle3-qt-lx#375. It was worked around since, but this was an
ircstream bug that had to be fixed anyway.
  • Loading branch information
paravoid committed Nov 6, 2024
1 parent 13a1969 commit 7ef7ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ircstream/ircserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ async def end_registration(self) -> None:
await self.msg(RPL.WELCOME, "Welcome to IRCStream")
await self.msg(RPL.YOURHOST, f"Your host is {self.server.servername}, running version {__version__}")
await self.msg(RPL.CREATED, f"This server was created {self.server.boot_time:%c} UTC")
await self.msg(RPL.MYINFO, f"{self.server.servername} {__version__} i {''.join(cmodes)}")
await self.msg(RPL.MYINFO, [self.server.servername, __version__, "i", "".join(cmodes)])
await self.msg(
RPL.ISUPPORT,
[
Expand Down

0 comments on commit 7ef7ace

Please sign in to comment.