Have to handle the fact that we might have a proxy.

This commit is contained in:
Jeremy Fincher 2005-03-14 03:51:56 +00:00
parent 7e441285c7
commit 9ec4493201

View File

@ -242,6 +242,8 @@ class ChannelLogger(callbacks.Plugin):
'*** %s changes topic to "%s"\n', msg.nick, msg.args[1])
def doQuit(self, irc, msg):
if not isinstance(irc, irclib.Irc):
irc = irc.getRealIrc()
for (channel, chan) in self.lastStates[irc].channels.iteritems():
if msg.nick in chan.users:
self.doLog(irc, channel, '*** %s has quit IRC\n', msg.nick)