diff options
Diffstat (limited to 'src/command_parse.cpp')
| -rw-r--r-- | src/command_parse.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 1ca24fcb3..2ee7daa8e 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -552,14 +552,6 @@ const char* CommandParser::LoadCommand(const char* name) void CommandParser::SetupCommandTable(userrec* user) { - for (SharedObjectList::iterator command = RFCCommands.begin(); command != RFCCommands.end(); command++) - { - command_t *cmdptr = cmdlist.find(command->first)->second; - cmdlist.erase(cmdlist.find(command->first)); - RFCCommands.erase(command); - delete cmdptr; - } - if (!user) { printf("\nLoading core commands"); |
