From cb52197d1b2522f1661cab5b341008110216149e Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 4 Aug 2004 12:39:24 +0000 Subject: [PATCH] Forgot to close the files. --- plugins/Tail.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/Tail.py b/plugins/Tail.py index 1d98a822d..0eaf6c5b5 100644 --- a/plugins/Tail.py +++ b/plugins/Tail.py @@ -90,6 +90,8 @@ class Tail(privmsgs.CapabilityCheckingPrivmsg): def die(self): schedule.removeEvent(self.name()) + for fd in self.files.values(): + fd.close() def __call__(self, irc, msg): irc = callbacks.SimpleProxy(irc, msg)