mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Added logging of invite.
This commit is contained in:
parent
1300548d0a
commit
d0547ba954
@ -132,6 +132,7 @@ class Admin(privmsgs.CapabilityCheckingPrivmsg):
|
||||
if channel not in irc.state.channels:
|
||||
if conf.supybot.alwaysJoinOnInvite() or \
|
||||
ircdb.checkCapability(msg.prefix, 'admin'):
|
||||
self.log.info('Invited to %s by %s', channel, msg.prefix)
|
||||
irc.queueMsg(ircmsgs.join(channel))
|
||||
conf.supybot.channels().add(channel)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user