summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-03 00:48:12 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-03 00:48:12 +0000
commit1c4abcfda1c8673b96d2ba11e379e9b7457f749f (patch)
treeb2392862ba2e8d707c8edee8cf7cfbb94592fb32 /src
parent77f5fb9f0bc72435622116a6dd3aad8afaef71cf (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/command_parse.cpp1
1 files changed, 1 insertions, 0 deletions
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);