Trying different index.

This commit is contained in:
Jeremy Fincher 2003-04-09 18:52:55 +00:00
parent 7890e9dbdb
commit 64b60dceae
1 changed files with 3 additions and 4 deletions

View File

@ -309,11 +309,10 @@ class Relay(callbacks.Privmsg):
else: else:
s = '%s/%s has quit.' % (msg.nick, network) s = '%s/%s has quit.' % (msg.nick, network)
for channel in self.channels: for channel in self.channels:
debug.printf(channel)
debug.printf(self.ircstates[irc]) debug.printf(self.ircstates[irc])
debug.printf(self.ircstates[irc][0]) debug.printf(self.ircstates[irc][1])
debug.printf(self.ircstates[irc][0].channels[channel].users) debug.printf(self.ircstates[irc][1].channels[channel].users)
if msg.nick in self.ircstates[irc][0].channels[channel].users: if msg.nick in self.ircstates[irc][1].channels[channel].users:
for otherIrc in self.ircs.itervalues(): for otherIrc in self.ircs.itervalues():
if otherIrc != irc: if otherIrc != irc:
otherIrc.queueMsg(ircmsgs.privmsg(channel, s)) otherIrc.queueMsg(ircmsgs.privmsg(channel, s))