mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 15:44:06 +01:00
Fixed doMode only to do something when there are actual arguments.
This commit is contained in:
parent
c070e66d11
commit
1ef546178c
@ -153,7 +153,7 @@ class ChannelLogger(irclib.IrcCallback):
|
|||||||
|
|
||||||
def doMode(self, irc, msg):
|
def doMode(self, irc, msg):
|
||||||
channel = msg.args[0]
|
channel = msg.args[0]
|
||||||
if ircutils.isChannel(channel):
|
if ircutils.isChannel(channel) and msg.args[1:]:
|
||||||
log = self.getLog(channel)
|
log = self.getLog(channel)
|
||||||
self.timestamp(log)
|
self.timestamp(log)
|
||||||
log.write('*** %s sets mode: %s %s\n' %
|
log.write('*** %s sets mode: %s %s\n' %
|
||||||
|
Loading…
Reference in New Issue
Block a user