Relay nicks should still work when the bot isn't in the channel on a network.

This commit is contained in:
Jeremy Fincher 2004-11-04 06:43:38 +00:00
parent 591e66664d
commit d7275d75d3

View File

@ -200,9 +200,8 @@ class Relay(callbacks.Privmsg):
try: try:
Channel = otherIrc.state.channels[channel] Channel = otherIrc.state.channels[channel]
except KeyError: except KeyError:
s = 'Somehow I\'m not in %s on %s.'% (channel, network) users.append('(not in %s on %s)' % (channel, network))
irc.error(s) continue
return
numUsers = 0 numUsers = 0
for s in Channel.users: for s in Channel.users:
s = s.strip() s = s.strip()