Forgot to close the files.

This commit is contained in:
Jeremy Fincher 2004-08-04 12:39:24 +00:00
parent 68516b8fec
commit cb52197d1b

View File

@ -90,6 +90,8 @@ class Tail(privmsgs.CapabilityCheckingPrivmsg):
def die(self): def die(self):
schedule.removeEvent(self.name()) schedule.removeEvent(self.name())
for fd in self.files.values():
fd.close()
def __call__(self, irc, msg): def __call__(self, irc, msg):
irc = callbacks.SimpleProxy(irc, msg) irc = callbacks.SimpleProxy(irc, msg)