Author: Carlo Wood <run@alinoe.com> (Via Isomer <isomer@undernet.org>)
[ircu2.10.12-pk.git] / ircd / s_misc.c
index dab42bcd4cfb96e10101e6e22465809ff4c0f2f2..1344f867220281693ddc3eaadce43a3763244e76 100644 (file)
@@ -270,8 +270,6 @@ static void exit_one_client(struct Client* bcptr, const char* comment)
       Count_serverdisconnects(UserStats);
     else
       Count_remoteserverquits(UserStats);
-    
-    map_update(bcptr);
   }
   else if (IsMe(bcptr))
   {
@@ -478,6 +476,10 @@ int exit_client(struct Client *cptr,    /* Connection being handled by
                           get_client_name(killer, HIDE_IP));
     sendto_opmask_butone(0, SNO_NETWORK, "Net break: %C %C (%s)",
                         cli_serv(victim)->up, victim, comment);
+
+#ifdef HEAD_IN_SAND_MAP    
+    map_update(victim);
+#endif
   }
 
   /*