mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +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>"
|
||||||
network = privmsgs.getArgs(args)
|
network = privmsgs.getArgs(args)
|
||||||
otherIrc = self.ircs[network]
|
otherIrc = self.ircs[network]
|
||||||
otherIrc.driver.die()
|
otherIrc.driver.close()
|
||||||
del self.ircs[network]
|
del self.ircs[network]
|
||||||
world.ircs.remove(otherIrc)
|
world.ircs.remove(otherIrc)
|
||||||
del self.abbreviations[otherIrc]
|
del self.abbreviations[otherIrc]
|
||||||
|
@ -396,7 +396,7 @@ class Irc(object):
|
|||||||
|
|
||||||
# elif msg.command == 'ERROR':
|
# elif msg.command == 'ERROR':
|
||||||
# if msg.args[0].startswith('Closing Link'):
|
# if msg.args[0].startswith('Closing Link'):
|
||||||
# self.driver.die()
|
# self.driver.close()
|
||||||
# Now update the IrcState object.
|
# Now update the IrcState object.
|
||||||
try:
|
try:
|
||||||
self.state.addMsg(self, msg)
|
self.state.addMsg(self, msg)
|
||||||
|
@ -222,7 +222,7 @@ class OwnerCommands(CapabilityCheckingPrivmsg):
|
|||||||
except (ValueError, IndexError):
|
except (ValueError, IndexError):
|
||||||
i = 0
|
i = 0
|
||||||
for driver in drivers._drivers.itervalues():
|
for driver in drivers._drivers.itervalues():
|
||||||
driver.die()
|
driver.close()
|
||||||
for irc in world.ircs:
|
for irc in world.ircs:
|
||||||
irc.die()
|
irc.die()
|
||||||
debug.exit(i)
|
debug.exit(i)
|
||||||
|
Loading…
Reference in New Issue
Block a user