std::vector<std::string> list;
list.reserve(commands.size());
for (CommandParser::CommandMap::const_iterator i = commands.begin(); i != commands.end(); ++i)
std::vector<std::string> list;
list.reserve(commands.size());
for (CommandParser::CommandMap::const_iterator i = commands.begin(); i != commands.end(); ++i)
RPL_COMMANDS, user->nick.c_str(), i->second->name.c_str(), src->ModuleSourceFile.c_str(),
i->second->min_params, i->second->Penalty));
}
RPL_COMMANDS, user->nick.c_str(), i->second->name.c_str(), src->ModuleSourceFile.c_str(),
i->second->min_params, i->second->Penalty));
}
for(unsigned int i=0; i < list.size(); i++)
user->Write(list[i]);
user->WriteNumeric(RPL_COMMANDSEND, ":End of COMMANDS list");
for(unsigned int i=0; i < list.size(); i++)
user->Write(list[i]);
user->WriteNumeric(RPL_COMMANDSEND, ":End of COMMANDS list");