From 1ef546178c4163cc5d8cc5b7fb3cb60f3b040cc7 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 17 Feb 2004 19:04:24 +0000 Subject: [PATCH] Fixed doMode only to do something when there are actual arguments. --- plugins/ChannelLogger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ChannelLogger.py b/plugins/ChannelLogger.py index cf6577ad3..0a9f5c8e2 100644 --- a/plugins/ChannelLogger.py +++ b/plugins/ChannelLogger.py @@ -153,7 +153,7 @@ class ChannelLogger(irclib.IrcCallback): def doMode(self, irc, msg): channel = msg.args[0] - if ircutils.isChannel(channel): + if ircutils.isChannel(channel) and msg.args[1:]: log = self.getLog(channel) self.timestamp(log) log.write('*** %s sets mode: %s %s\n' %