Fixed showing of originating server in relaynames, and showing of empty name

This commit is contained in:
Jeremy Fincher 2003-03-27 21:18:49 +00:00
parent 54221f1e87
commit a144afcd69
1 changed files with 3 additions and 2 deletions

View File

@ -121,8 +121,9 @@ class Relay(privmsgs.CapabilityCheckingPrivmsg):
return
users = []
for (abbreviation, otherIrc) in self.ircs.iteritems():
Channel = otherIrc.state.channels[channel]
users.append('%s: %s' % (abbreviation, ', '.join(Channel.users)))
if abbreviation != self.abbreviations[irc]:
Channel = otherIrc.state.channels[channel]
users.append('%s: %s'%(abbreviation,', '.join(Channel.users)))
irc.reply(msg, '; '.join(users))