diff --git a/I2PControl.cpp b/I2PControl.cpp index 5f5995bc..c39164a2 100644 --- a/I2PControl.cpp +++ b/I2PControl.cpp @@ -168,7 +168,10 @@ namespace client { LogPrint (eLogInfo, v.first); if (!v.first.empty()) - params[v.first] = v.second.data (); + { + if (v.first != I2P_CONTROL_PARAM_TOKEN) // exclude Token. TODO: verify it + params[v.first] = v.second.data (); + } } std::map results; (this->*(it->second))(params, results);