mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 07:34:08 +01:00
Have to handle the fact that we might have a proxy.
This commit is contained in:
parent
7e441285c7
commit
9ec4493201
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user