summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:46:29 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:46:29 +0000
commit1ea2fca7678ca3fe585c5812f9f62799e4a46ec5 (patch)
treeca6d3be2f58975c4f6c86c75c95a9d74bb05d81a /src/inspircd.cpp
parente581679d1fe4af527fd9e456569266271144b4ce (diff)
Valgrind cleanup: Add RemoveRFCCommands() to dlclose() and delete the core commands
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11613 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index d7239e0b4..28aa0e1b9 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -127,7 +127,7 @@ void InspIRCd::Cleanup()
}
}
/* Remove core commands */
- Parser->RemoveCommands("<core>");
+ Parser->RemoveRFCCommands();
/* Cleanup Server Names */
for(servernamelist::iterator itr = servernames.begin(); itr != servernames.end(); ++itr)