if (MyConnect(sptr)) {
if (showip)
ircd_snprintf(0, nbuf, sizeof(nbuf), "%s[%s@%s]", cli_name(sptr),
- (IsIdented(sptr)) ? cli_username(sptr) : "", cli_sock_ip(sptr));
+ cli_user(sptr)->username, cli_sock_ip(sptr));
else
return cli_name(sptr);
return nbuf;
Count_serverdisconnects(UserStats);
else
Count_remoteserverquits(UserStats);
-#ifdef HEAD_IN_SAND_MAP
- map_update(bcptr);
-#endif
}
else if (IsMe(bcptr))
{
get_client_name(killer, HIDE_IP));
sendto_opmask_butone(0, SNO_NETWORK, "Net break: %C %C (%s)",
cli_serv(victim)->up, victim, comment);
+
+#if defined(HEAD_IN_SAND_MAP) || defined(HEAD_IN_SAND_LINKS)
+ map_update(victim);
+#endif
}
/*