mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
chaged msg.arg[0] to channel in if statements for joins and parts
This commit is contained in:
parent
82ed771b9e
commit
6d7b6a7d31
@ -207,7 +207,7 @@ class ChannelLogger(callbacks.Plugin):
|
|||||||
'*** %s is now known as %s\n', oldNick, newNick)
|
'*** %s is now known as %s\n', oldNick, newNick)
|
||||||
def doJoin(self, irc, msg):
|
def doJoin(self, irc, msg):
|
||||||
for channel in msg.args[0].split(','):
|
for channel in msg.args[0].split(','):
|
||||||
if(self.registryValue('showJoinParts', msg.args[0])):
|
if(self.registryValue('showJoinParts', channel)):
|
||||||
self.doLog(irc, channel,
|
self.doLog(irc, channel,
|
||||||
'*** %s <%s> has joined %s\n',
|
'*** %s <%s> has joined %s\n',
|
||||||
msg.nick, msg.prefix, channel)
|
msg.nick, msg.prefix, channel)
|
||||||
@ -232,7 +232,7 @@ class ChannelLogger(callbacks.Plugin):
|
|||||||
else:
|
else:
|
||||||
reason = ""
|
reason = ""
|
||||||
for channel in msg.args[0].split(','):
|
for channel in msg.args[0].split(','):
|
||||||
if(self.registryValue('showJoinParts', msg.args[0])):
|
if(self.registryValue('showJoinParts', channel)):
|
||||||
self.doLog(irc, channel,
|
self.doLog(irc, channel,
|
||||||
'*** %s <%s> has left %s%s\n',
|
'*** %s <%s> has left %s%s\n',
|
||||||
msg.nick, msg.prefix, channel, reason)
|
msg.nick, msg.prefix, channel, reason)
|
||||||
|
Loading…
Reference in New Issue
Block a user