From 9e055196602ea2642d9966174873d239ae75fd6f Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 3 Apr 2003 06:58:30 +0000 Subject: [PATCH] Changed driver.die() to driver.close() --- plugins/Relay.py | 2 +- src/irclib.py | 2 +- src/privmsgs.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/Relay.py b/plugins/Relay.py index e283f898e..a11dfd704 100644 --- a/plugins/Relay.py +++ b/plugins/Relay.py @@ -92,7 +92,7 @@ class Relay(callbacks.Privmsg): "" 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] diff --git a/src/irclib.py b/src/irclib.py index 362af5e2a..60dff217a 100644 --- a/src/irclib.py +++ b/src/irclib.py @@ -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) diff --git a/src/privmsgs.py b/src/privmsgs.py index cbe4a3631..258ee5dc1 100644 --- a/src/privmsgs.py +++ b/src/privmsgs.py @@ -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)