From ed94fb6c55eb67919babc51b31c9ef617aeb2157 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 11 Nov 2007 20:26:36 +0000 Subject: Tidyups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8581 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_remoteinclude.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/modules/m_remoteinclude.cpp') diff --git a/src/modules/m_remoteinclude.cpp b/src/modules/m_remoteinclude.cpp index 7bf01ff55..ca0d7af72 100644 --- a/src/modules/m_remoteinclude.cpp +++ b/src/modules/m_remoteinclude.cpp @@ -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; -- cgit v1.2.3