Asyncore updates

- fix connected to myself check
This commit is contained in:
Peter Šurda 2017-05-29 14:41:02 +02:00
parent 0aa5dbd958
commit 1ccfd41c3f
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -428,6 +428,7 @@ class BMProto(AdvancedDispatcher, ObjectTracker):
errorText="I'm connected to myself. Closing connection."))
logger.debug ("Closed connection to %s because I'm connected to myself.",
str(self.destination))
return False
return True