From 1c4abcfda1c8673b96d2ba11e379e9b7457f749f Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 3 Sep 2006 00:48:12 +0000 Subject: Remove the shared object pointer from the hash after each reload git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5121 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/command_parse.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 600ce2e61..83f4674c4 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -510,6 +510,7 @@ bool CommandParser::ReloadCommand(const char* cmd) delete cmdptr; dlclose(command->second); + RFCCommands.erase(command); sprintf(filename, "cmd_%s.so", commandname); this->LoadCommand(filename); -- cgit v1.2.3