1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-10 13:03:12 +02:00

+- Fixed some host revealing nick collision stuff

This commit is contained in:
stskeeps
2000-07-07 09:35:35 +00:00
parent 3a385f679b
commit 6c67a4a6b1
2 changed files with 5 additions and 6 deletions
+1
View File
@@ -444,3 +444,4 @@
- Fixed a /rehash -garbage bug reported by Curt|s
- Added networks/makenet (generates a network configuration file)
- Added networks/staticedge.network
- Fixed some host revealing nick collision stuff
+4 -6
View File
@@ -1312,9 +1312,8 @@ int m_nick(cptr, sptr, parc, parv)
{
ircstp->is_kill++;
sendto_serv_butone(NULL,
":%s KILL %s :%s (Nick Collision: %s <- %s)",
me.name, acptr->name, me.name, acptr->from->name,
parc > 5 ? parv[5] : get_client_name(cptr, FALSE));
":%s KILL %s :%s (Nick Collision)",
me.name, acptr->name, me.name);
acptr->flags |= FLAGS_KILLED;
(void)exit_client(NULL, acptr, &me,
"Nick collision with no timestamp/equal timestamps");
@@ -1326,9 +1325,8 @@ int m_nick(cptr, sptr, parc, parv)
{
ircstp->is_kill++;
sendto_serv_butone(cptr,
":%s KILL %s :%s (Nick Collision: %s <- %s)",
me.name, acptr->name, me.name, acptr->from->name,
parc > 5 ? parv[5] : get_client_name(cptr, FALSE));
":%s KILL %s :%s (Nick Collision)",
me.name, acptr->name, me.name);
acptr->flags |= FLAGS_KILLED;
(void)exit_client(NULL, acptr, &me, "Nick collision");
goto nickkilldone; /* OK, we got rid of the "wrong" user,