Changed driver.die() to driver.close()

This commit is contained in:
Jeremy Fincher 2003-04-03 06:58:30 +00:00
parent f682f639c5
commit 9e05519660
3 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ class Relay(callbacks.Privmsg):
"<network>"
network = privmsgs.getArgs(args)
otherIrc = self.ircs[network]
otherIrc.driver.die()
otherIrc.driver.close()
del self.ircs[network]
world.ircs.remove(otherIrc)
del self.abbreviations[otherIrc]

View File

@ -396,7 +396,7 @@ class Irc(object):
# elif msg.command == 'ERROR':
# if msg.args[0].startswith('Closing Link'):
# self.driver.die()
# self.driver.close()
# Now update the IrcState object.
try:
self.state.addMsg(self, msg)

View File

@ -222,7 +222,7 @@ class OwnerCommands(CapabilityCheckingPrivmsg):
except (ValueError, IndexError):
i = 0
for driver in drivers._drivers.itervalues():
driver.die()
driver.close()
for irc in world.ircs:
irc.die()
debug.exit(i)