From a6d71770c9131986f2b8ca121dc47dd98b8632ac Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 23 Sep 2003 16:08:05 +0000 Subject: [PATCH] Added a try/finally statement to the addMsg in __call__ so lastMsg will still get updated if it raises an exception. --- plugins/ChannelLogger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ChannelLogger.py b/plugins/ChannelLogger.py index 672e58c8a..c5e74a763 100644 --- a/plugins/ChannelLogger.py +++ b/plugins/ChannelLogger.py @@ -66,7 +66,7 @@ class ChannelLogger(irclib.IrcCallback): if self.lastMsg: self.laststate.addMsg(irc, self.lastMsg) finally: - # We must make this always gets updated. + # We must make this always gets updatedm self.lastMsg = msg def reset(self):