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:
@@ -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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user