mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Fix commit 6e699816
(bot always joined on invite)
This commit is contained in:
parent
1fd0657da8
commit
6e32d10d0d
@ -117,7 +117,7 @@ class Admin(callbacks.Plugin):
|
||||
def doInvite(self, irc, msg):
|
||||
channel = msg.args[1]
|
||||
if channel not in irc.state.channels:
|
||||
if conf.supybot.alwaysJoinOnInvite.get(channel) or \
|
||||
if conf.supybot.alwaysJoinOnInvite.get(channel)() or \
|
||||
ircdb.checkCapability(msg.prefix, 'admin'):
|
||||
self.log.info('Invited to %s by %s.', channel, msg.prefix)
|
||||
networkGroup = conf.supybot.networks.get(irc.network)
|
||||
|
Loading…
Reference in New Issue
Block a user