+ /* Check for nickname overruled -
+ * This happens when one user has connected and sent only NICK, and is essentially
+ * "camping" upon a nickname. To give the new user connecting a fair chance of having
+ * the nickname too, we force a nickchange on the older user (Simply the one who was
+ * here first, no TS checks need to take place here)
+ */
+ userrec* InUse = ServerInstance->FindNickOnly(parameters[0]);
+ ServerInstance->Log(DEBUG,"Nick in use");
+ if (InUse && (InUse != user) && ((ServerInstance->IsNick(parameters[0]) || allowinvalid)))