Added logging of invite.

This commit is contained in:
Jeremy Fincher 2004-02-21 09:56:27 +00:00
parent 1300548d0a
commit d0547ba954

View File

@ -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)