mirror of https://github.com/Mikaela/Limnoria.git
Oops, exception when a dude quits and supybot's not in a channel he's supposed to be in.
This commit is contained in:
parent
65cf9af143
commit
df3d7a4ecb
|
@ -524,6 +524,7 @@ class Relay(callbacks.Privmsg):
|
|||
else:
|
||||
s = '%s has quit %s.' % (msg.nick, network)
|
||||
for channel in self.registryValue('channels'):
|
||||
if channel in self.ircstates[irc].channels:
|
||||
if msg.nick in self.ircstates[irc].channels[channel].users:
|
||||
m = ircmsgs.privmsg(channel, s)
|
||||
self._sendToOthers(irc, m)
|
||||
|
|
Loading…
Reference in New Issue