bad logic

This commit is contained in:
James Vega 2004-09-15 19:31:53 +00:00
parent 00889cc390
commit 8f8a97261d

View File

@ -423,7 +423,7 @@ def standardSubstitute(irc, msg, text, env=None):
L = list(irc.state.channels[channel].users)
if len(L) > 1:
n = msg.nick
while n != msg.nick:
while n == msg.nick:
n = random.choice(L)
return n
else: