]> jfr.im git - solanum.git/blobdiff - src/client.c
Merge links_cache into scache and rework scache.
[solanum.git] / src / client.c
index bdebefcc1a33696b7444898008e1b83a8a956fd2..bb0f472f3a921f942a860b51f30ef1ce56ce40cc 100644 (file)
@@ -59,6 +59,7 @@
 #include "monitor.h"
 #include "blacklist.h"
 #include "reject.h"
+#include "scache.h"
 
 #define DEBUG_EXITED_CLIENTS
 
@@ -1487,6 +1488,7 @@ exit_remote_server(struct Client *client_p, struct Client *source_p, struct Clie
 
        del_from_client_hash(source_p->name, source_p);
        remove_client_from_list(source_p);  
+       scache_split(source_p->serv->nameinfo);
        
        SetDead(source_p);
 #ifdef DEBUG_EXITED_CLIENTS
@@ -1583,6 +1585,7 @@ exit_local_server(struct Client *client_p, struct Client *source_p, struct Clien
 
        del_from_client_hash(source_p->name, source_p);
        remove_client_from_list(source_p);
+       scache_split(source_p->serv->nameinfo);
        
        SetDead(source_p);
        dlinkAddAlloc(source_p, &dead_list);