proxyflood: change nickname on 432 instead of adding numbers

This commit is contained in:
Your Name
2021-05-02 17:19:01 +02:00
parent 9439b69fc7
commit 29675be5a2

View File

@@ -161,7 +161,7 @@ def flood(sock):
# nick reseverd or already used
elif _split[1] == '432' or _split[1] == '433':
sock.send('NICK %s%d\r\n' % (nick,random.randint(1000,9999)))
sock.send('NICK %s\r\n' % random.choice(nicklist))
# code 500
elif _split[1] == '500':