Fixing a bug happening if connecting with plain telnet caused by the TTYPE handshake not being properly handled. Also made color default for telnet, hopefully all terminals should handle color by now?

This commit is contained in:
Griatch 2012-04-12 23:39:22 +02:00
parent 4977153de2
commit 9475fbd0d9
4 changed files with 6 additions and 13 deletions

View file

@ -193,7 +193,6 @@ class ServerSession(Session):
# all other inputs, including empty inputs
character = self.get_character()
if character:
character.execute_cmd(command_string)
else:
@ -212,7 +211,6 @@ class ServerSession(Session):
"""
self.sessionhandler.data_out(self, msg, data)
def oob_data_in(self, data):
"""
This receives out-of-band data from the Portal.
@ -286,7 +284,6 @@ class ServerSession(Session):
"""
return u"%s" % str(self)
# easy-access functions
def login(self, player):