mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
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,9 +524,10 @@ class Relay(callbacks.Privmsg):
|
||||
else:
|
||||
s = '%s has quit %s.' % (msg.nick, network)
|
||||
for channel in self.registryValue('channels'):
|
||||
if msg.nick in self.ircstates[irc].channels[channel].users:
|
||||
m = ircmsgs.privmsg(channel, s)
|
||||
self._sendToOthers(irc, m)
|
||||
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)
|
||||
|
||||
def outFilter(self, irc, msg):
|
||||
irc = self._getRealIrc(irc)
|
||||
|
Loading…
Reference in New Issue
Block a user