*
* $Id$
*/
+#include "config.h"
+
#include "s_misc.h"
#include "IPcheck.h"
#include "channel.h"
#include "ircd.h"
#include "ircd_alloc.h"
#include "ircd_log.h"
+#include "ircd_policy.h"
#include "ircd_reply.h"
#include "ircd_string.h"
#include "list.h"
/* Remove the downlinks and client of the downlink */
exit_downlinks(acptr, sptr, comment);
/* Remove the downlink itself */
- exit_one_client(acptr, me.name);
+ exit_one_client(acptr, cli_name(&me));
}
/* Remove all clients of this server */
acptrp = cli_serv(cptr)->client_list;
if (IsServer(victim))
{
+#ifdef HEAD_IN_SAND_NETSPLIT
+ strcpy(comment1, "*.net *.split");
+#else
strcpy(comment1, cli_name(cli_serv(victim)->up));
strcat(comment1, " ");
strcat(comment1, cli_name(victim));
+#endif
if (IsUser(killer))
sendto_opmask_butone(killer, SNO_OLDSNO, "%s SQUIT by %s [%s]:",
(cli_user(killer)->server == victim ||