diff --git a/plugins/ChannelLogger/plugin.py b/plugins/ChannelLogger/plugin.py index 286ee3524..42e2bd981 100644 --- a/plugins/ChannelLogger/plugin.py +++ b/plugins/ChannelLogger/plugin.py @@ -226,6 +226,13 @@ class ChannelLogger(callbacks.Plugin): if newNick in c.users: self.doLog(irc, channel, '*** %s is now known as %s\n', oldNick, newNick) + + def doInvite(self, irc, msg): + (target, channel) = msg.args + self.doLog(irc, channel, + '*** %s <%s> invited %s to %s\n', + msg.nick, msg.prefix, target, channel) + def doJoin(self, irc, msg): for channel in msg.args[0].split(','): if(self.registryValue('showJoinParts', channel)): diff --git a/src/irclib.py b/src/irclib.py index 620694df6..f7e5d0223 100644 --- a/src/irclib.py +++ b/src/irclib.py @@ -955,7 +955,7 @@ class Irc(IrcCommandDispatcher, log.Firewalled): REQUEST_CAPABILITIES = set(['account-notify', 'extended-join', 'multi-prefix', 'metadata-notify', 'account-tag', - 'userhost-in-names']) + 'userhost-in-names', 'invite-notify']) def _queueConnectMessages(self): if self.zombie: