Author: Ghostwolf <foxxe@wtfs.net>
[ircu2.10.12-pk.git] / ircd / s_misc.c
index 021dae6e195ccbab061b2f2d2b8586a298a46af8..62a3372acd22ddbb858e8da41ed288840ebc05b0 100644 (file)
@@ -270,9 +270,6 @@ static void exit_one_client(struct Client* bcptr, const char* comment)
       Count_serverdisconnects(UserStats);
     else
       Count_remoteserverquits(UserStats);
-#ifdef HEAD_IN_SAND_MAP    
-    map_update(bcptr);
-#endif
   }
   else if (IsMe(bcptr))
   {
@@ -481,6 +478,10 @@ int exit_client(struct Client *cptr,    /* Connection being handled by
                         cli_serv(victim)->up, victim, comment);
   }
 
+#ifdef HEAD_IN_SAND_MAP    
+  map_update(victim);
+#endif
+
   /*
    * First generate the needed protocol for the other server links
    * except the source: