diff options
| author | 2006-09-03 00:48:12 +0000 | |
|---|---|---|
| committer | 2006-09-03 00:48:12 +0000 | |
| commit | 1c4abcfda1c8673b96d2ba11e379e9b7457f749f (patch) | |
| tree | b2392862ba2e8d707c8edee8cf7cfbb94592fb32 /src/command_parse.cpp | |
| parent | Forgot to copy cmd_mode.so (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/command_parse.cpp')
| -rw-r--r-- | src/command_parse.cpp | 1 |
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); |
