Rev 1602 | Rev 1606 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1602 | Rev 1603 | ||
|---|---|---|---|
| Line 85... | Line 85... | ||
| 85 | line += " CMD=" + payload->GetCommandName() + " "; |
85 | line += " CMD=" + payload->GetCommandName() + " "; |
| 86 | 86 | ||
| 87 | type::StringMap variables = payload->GetVariables(); |
87 | type::StringMap variables = payload->GetVariables(); |
| 88 | 88 | ||
| 89 | for (type::StringMap::iterator it = variables.begin(); it != variables.end(); it++) |
89 | for (type::StringMap::iterator it = variables.begin(); it != variables.end(); it++) |
| - | 90 | { |
|
| - | 91 | if (it->second != "") |
|
| 90 | { |
92 | { |
| 91 | line += " " + it->first + "=" + it->second; |
93 | line += " " + it->first + "=" + it->second; |
| - | 94 | } |
|
| 92 | } |
95 | } |
| 93 | 96 | ||
| 94 | line += "\n"; |
97 | line += "\n"; |
| 95 | 98 | ||
| 96 | net::Manager::Instance()->SendToAll(this->server_id_, type::Byteset(line)); |
99 | net::Manager::Instance()->SendToAll(this->server_id_, type::Byteset(line)); |