Working compile copy.

This commit is contained in:
Brad Arant committed 2019-03-04 13:08:34 -08:00
1 parent 41ff757f09
commit f894f3fb66
54 files changed
+249 -355

No files matched your search

+3 -1
View File
@@ -9,13 +9,15 @@ namespace core {
void CommandList::add(Command &command, std::string name) {
command.setName(name);
commands.push_back(&command);
}
void CommandList::remove(Command &command) {
}
bool CommandList::processRequest(std::string request, Session *session) {
bool CommandList::processRequest(std::string request, Session *session) {
for(auto *command : commands) {
if(command->check(request)) {
command->processCommand(request, session);