Add debug logging for GMCP/MSDP negotiation offers

This commit is contained in:
Jared Miller 2026-02-12 14:22:00 -05:00
parent 7ba4ab90fb
commit 05b377f00a
Signed by: shmup
GPG key ID: 22B5C6D66A38B06C

View file

@ -233,8 +233,9 @@ class MudTelnetServer(TelnetServer):
"""Offer GMCP and MSDP alongside the standard options."""
super().begin_advanced_negotiation()
assert self.writer is not None
self.writer.iac(WILL, GMCP)
self.writer.iac(WILL, MSDP)
gmcp_ok = self.writer.iac(WILL, GMCP)
msdp_ok = self.writer.iac(WILL, MSDP)
log.debug("offered GMCP=%s MSDP=%s", gmcp_ok, msdp_ok)
async def shell(