Fix exception in connectionLost due to not passing self (#382)

This commit is contained in:
lelonek1
2016-12-19 01:47:34 -05:00
committed by Michel Oosterhof
parent cde3f71d4b
commit 1a0ed7baa6

View File

@@ -78,7 +78,7 @@ class HoneyPotTelnetSession(TelnetBootstrapProtocol):
# XXX verify if HoneyPotTelnetAuthProtocol's connectionLost fires otherwise
# we'll have to reimplement some of the stuff here
"""
TelnetBootstrapProtocol.connectionLost(reason)
TelnetBootstrapProtocol.connectionLost(self, reason)
self.server = None
self.cfg = None
self.avatar = None