Don't cause exception on unknown telnet disable negotiation. Addresses #2044 (but does not yet fix it).
This commit is contained in:
parent
221fc560a7
commit
29f78ae601
1 changed files with 5 additions and 1 deletions
|
|
@ -225,7 +225,11 @@ class TelnetProtocol(Telnet, StatefulTelnetProtocol, Session):
|
||||||
self.mccp.no_mccp(option)
|
self.mccp.no_mccp(option)
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
|
try:
|
||||||
return super().disableLocal(option)
|
return super().disableLocal(option)
|
||||||
|
except Exception:
|
||||||
|
from evennia.utils import logger
|
||||||
|
logger.log_trace()
|
||||||
|
|
||||||
def connectionLost(self, reason):
|
def connectionLost(self, reason):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue