[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
An idea on nick-collisions
Hi all,
i've got an (IMO nice) idea on how to prevent nick-collisions. The idea
could replace nick delay (ND) but it could also coexist with it.
Currently (i'm talking of irc2.9.?), if a nick-collision occurs, both
users get killed and have to reconnect - which creates some extra-traffic
(server-to-server and server-to-client).
And now my idea: If a nick-collision occurs, ircd simply changes the nick
of the two users who collided!
Example: User1 (Kasi) is on server A, user2 (Kasi) is on B. A (re)connects
to B and a nick-collision occurs. User1's nick is automatically changed to
"Kasi-" (or "Kasi\", "Kasi1", "Kasi]", etc.) and user2's nick is changed
to "Kasi--" (or "Kasi}", "Kasi0", whatever resembles to "Kasi").
And both users get a server notice (something like "Automatic nick change
due to a nick-collision.").
If ircd can't find 'quickly' a new nick for both users (already in use),
it can still KILL them (which will almost never happen i suppose - depends
on the implementation).
That solution would be much more user-friendly, save bandwith and it would
almost abolish 'hostile' nick-collisions. [And if it replaced ND, it would
also save some memory... :)]
What do you think about it?
Bye, Kasi
--
Kaspar Landsberg, <kl@xxxxxxxxxxx>