1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-01 02:56:37 +02:00

+- Fixed the masskill bug with replacing "Server Exists" code.. i removed it

+  accidentialy last time
This commit is contained in:
stskeeps
2000-11-07 05:51:14 +00:00
parent f97882d2bb
commit 5a93d1a5e9
2 changed files with 11 additions and 8 deletions
+2
View File
@@ -685,3 +685,5 @@
- Added burst.c in extras/
- Moved lopt and whowas to anUser (saves 8 bytes for every server)
- Removed aClient->history, not used (saves 4 bytes for every user/server)
- Fixed compile error with SSL
- Fixed a /list and /quit bug
+9 -8
View File
@@ -728,15 +728,16 @@ int m_server(cptr, sptr, parc, parv)
* access through another path -- multiple paths not accepted
* currently, kill this link immeatedly!!
*/
sendto_one(cptr, "ERROR :Server %s already exists from %s",
host, acptr->from->name);
sendto_ops
("Link %s cancelled, server %s already exists from %s",
get_client_name(acptr, TRUE), host,
(acptr->from ? acptr->from->name : "<nobody>"));
return exit_client(acptr, acptr, acptr, "Server Exists");
acptr = acptr->from;
ocptr = (cptr->firsttime > acptr->firsttime) ? acptr : cptr;
acptr = (cptr->firsttime > acptr->firsttime) ? cptr : acptr;
sendto_one(acptr,"ERROR :Server %s already exists from %s",
host,
(ocptr->from ? ocptr->from->name : "<nobody>"));
sendto_ops("Link %s cancelled, server %s already exists from %s$ get_client_name(acptr, TRUE), host,
(ocptr->from ? ocptr->from->name : "<nobody>"));
return exit_client(acptr, acptr, acptr, "Server Exists");
}
/* if ((acptr = find_client(host, NULL)))
{
sendto_one(cptr, "ERROR :Nickname %s already exists!", host);