mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
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)
|
||||
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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue