mirror of https://github.com/cowrie/cowrie.git
remove the screen clear/reset on logout
This commit is contained in:
parent
c8824e94d8
commit
62697b967c
|
@ -270,6 +270,10 @@ class LoggingServerProtocol(insults.ServerProtocol):
|
|||
f.close
|
||||
insults.ServerProtocol.dataReceived(self, data)
|
||||
|
||||
# override super to remove the terminal reset on logout
|
||||
def loseConnection(self):
|
||||
self.transport.loseConnection()
|
||||
|
||||
# FIXME: this method is called 4 times on logout....
|
||||
# it's called once from Avatar.closed() if disconnected
|
||||
def connectionLost(self, reason):
|
||||
|
|
Loading…
Reference in New Issue