mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
bad logic
This commit is contained in:
parent
00889cc390
commit
8f8a97261d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user