summaryrefslogtreecommitdiff
path: root/src/modules/m_remoteinclude.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-11 20:26:36 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-11 20:26:36 +0000
commited94fb6c55eb67919babc51b31c9ef617aeb2157 (patch)
tree2f3513484f2ede4995210711e26f4b92e6d84b38 /src/modules/m_remoteinclude.cpp
parent06f15a7fd084bae73e34e6512c9b9903f1e2697b (diff)
Tidyups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8581 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_remoteinclude.cpp')
-rw-r--r--src/modules/m_remoteinclude.cpp5
1 files changed, 5 insertions, 0 deletions
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;