Made the driver reset the Irc on disconnection, not connection.

This commit is contained in:
Jeremy Fincher 2003-08-26 16:39:42 +00:00
parent c38099550e
commit b1a392c691

View File

@ -77,11 +77,11 @@ class SupyIrcProtocol(LineReceiver):
def connectionLost(self, failure):
self.mostRecentCall.cancel()
self.factory.irc.reset()
debug.msg(failure.getErrorMessage(), 'normal')
def connectionMade(self):
self.factory.irc.driver = self
self.factory.irc.reset()
def die(self):
self.transport.loseConnection()