mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-11 11:39:02 -04:00
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
This commit is contained in:
parent
77f5fb9f0b
commit
1c4abcfda1
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user