Changed idiom in doPart to be more like others

This commit is contained in:
Jeremy Fincher 2003-03-27 09:15:38 +00:00
parent c62a65e1ec
commit 5db1dbd595

View File

@ -157,8 +157,7 @@ class Relay(privmsgs.CapabilityCheckingPrivmsg):
abbreviation = self.abbreviations[irc]
s = '%s has left on %s' % (msg.nick, abbreviation)
for otherIrc in self.ircs.itervalues():
if otherIrc == irc:
continue
if otherIrc != irc:
for channel in channels:
if channel in otherIrc.state.channels:
otherIrc.queueMsg(ircmsgs.privmsg(channel, s))