Add an XXX

This commit is contained in:
James Vega 2004-11-12 16:25:35 +00:00
parent 241243ba82
commit 1e159fb386

View File

@ -834,6 +834,7 @@ class Irc(IrcCommandDispatcher):
L = list(nick)
while len(L) <= 3:
L.append('`')
# XXX Should this check ircutils.isNick as well?
while ret == nick:
L[random.randrange(len(L))] = random.choice('0123456789')
ret = ''.join(L)