Don't cause exception on unknown telnet disable negotiation. Addresses #2044 (but does not yet fix it).

This commit is contained in:
Griatch 2020-01-30 09:55:18 +01:00
parent 221fc560a7
commit 29f78ae601

View file

@ -225,7 +225,11 @@ class TelnetProtocol(Telnet, StatefulTelnetProtocol, Session):
self.mccp.no_mccp(option)
return True
else:
return super().disableLocal(option)
try:
return super().disableLocal(option)
except Exception:
from evennia.utils import logger
logger.log_trace()
def connectionLost(self, reason):
"""