]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Tidyups
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 11 Nov 2007 20:26:36 +0000 (20:26 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 11 Nov 2007 20:26:36 +0000 (20:26 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8581 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_remoteinclude.cpp

index 7bf01ff558cb423416a9f5414d9aee6224c583f3..ca0d7af7216570471bbfd31264c0fb86e7292325 100644 (file)
@@ -58,6 +58,11 @@ class ModuleRemoteInclude : public Module
 
                        ServerInstance->Log(DEBUG, "Flag file complete without error");
                        ServerInstance->Config->Complete(resp->GetURL(), false);
+
+                       /* Erase from our association map, but dont delete the pointer.
+                        * the core will want to access this pointer for the file data.
+                        */
+                       assoc.erase(n);
                }
 
                return NULL;