Move docs around.
This commit is contained in:
1 parent
63943e02dd
commit
3fee297136
2154 files changed
+19543
-41261
No files matched your search
+3
-3
@@ -14,15 +14,15 @@ namespace core {
|
||||
|
||||
bool CommandList::processRequest(std::string request, TCPSession *session, std::stringstream &data) {
|
||||
if(session->grab != NULL)
|
||||
session->grab->processCommand(request, session, data);
|
||||
return session->grab->processCommand(request, session, data);
|
||||
else {
|
||||
int pos = request.find(" ");
|
||||
std::string function = pos == request.npos ? request: request.substr(0, pos);
|
||||
for(auto *command : commands)
|
||||
if(command->check(function))
|
||||
command->processCommand(request, session, data);
|
||||
return command->processCommand(request, session, data);
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CommandList::grabInput(TCPSession *session, Command &command) {
|
||||
|
||||
Reference in new issue
Block a user