diff options
-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); |