if (active_lh_line == 1)
{
if (exit_client_msg(cptr, LHcptr, &me,
- "Leaf-only link %s <- %s, check L:",
+ "Maximum hops exceeded for %s at %s",
cli_name(cptr), host) == CPTR_KILLED)
return CPTR_KILLED;
}
else if (active_lh_line == 2)
{
if (exit_client_msg(cptr, LHcptr, &me,
- "Non-Hub link %s <- %s, check H:",
+ "%s is not allowed to hub for %s",
cli_name(cptr), host) == CPTR_KILLED)
return CPTR_KILLED;
}
if (exit_client(cptr, LHcptr, &me, "I'm a leaf, define HUB") == CPTR_KILLED)
return CPTR_KILLED;
}
- /*
- * Did we kill the incoming server off already ?
- */
- if (killed)
- return 0;
+ /* We just squit somebody, and it wasn't cptr. */
+ return 0;
}
return 1;