- /* check the length of the clients gecos */
- if(strlen(parv[8]) > REALLEN)
- {
- char *s = LOCAL_COPY(parv[8]);
- /* why exactly do we care? --fl */
- sendto_realops_snomask(SNO_GENERAL, L_ALL,
- "Long realname from server %s for %s", parv[7], parv[1]);
-
- s[REALLEN] = '\0';
- parv[8] = s;
- }
-
- newts = atol(parv[3]);
-
- target_p = find_named_client(parv[1]);
-
- /* if the nick doesnt exist, allow it and process like normal */
- if(target_p == NULL)
- {
- register_client(client_p, NULL, parv[1], newts, parc, parv);
- }
- else if(IsUnknown(target_p))
- {
- exit_client(NULL, target_p, &me, "Overridden");
- register_client(client_p, NULL, parv[1], newts, parc, parv);
- }
- else if(target_p == source_p)
- {
- /* client changing case of nick */
- if(strcmp(target_p->name, parv[1]))
- register_client(client_p, NULL, parv[1], newts, parc, parv);
- }
- /* we've got a collision! */
- else
- perform_nick_collides(source_p, client_p, target_p, parc, parv,
- newts, parv[1], NULL);
+ sendto_wallops_flags(UMODE_WALLOP, &me,
+ "Link %s cancelled, TS5 nickname %s on %s introduced (old server?)",
+ client_p->name, nick, server);
+ sendto_server(NULL, NULL, CAP_TS6, NOCAPS,
+ ":%s WALLOPS :Link %s cancelled, TS5 nickname %s on %s introduced (old server?)",
+ me.id, client_p->name, nick, server);
+ ilog(L_SERVER, "Link %s cancelled, TS5 nickname %s on %s introduced (old server?)",
+ client_p->name, nick, server);