mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Changed driver.die() to driver.close()
This commit is contained in:
parent
f682f639c5
commit
9e05519660
@ -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]
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user