proxyflood: change nickname on 432 instead of adding numbers
This commit is contained in:
@@ -161,7 +161,7 @@ def flood(sock):
|
|||||||
|
|
||||||
# nick reseverd or already used
|
# nick reseverd or already used
|
||||||
elif _split[1] == '432' or _split[1] == '433':
|
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
|
# code 500
|
||||||
elif _split[1] == '500':
|
elif _split[1] == '500':
|
||||||
|
|||||||
Reference in New Issue
Block a user