diff options
-rw-r--r-- | src/modules/m_remoteinclude.cpp | 5 |
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; |