summaryrefslogtreecommitdiffstats
path: root/src/Daemon/RequestHandlers
diff options
context:
space:
mode:
Diffstat (limited to 'src/Daemon/RequestHandlers')
-rw-r--r--src/Daemon/RequestHandlers/CommandRequestHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Daemon/RequestHandlers/CommandRequestHandler.cpp b/src/Daemon/RequestHandlers/CommandRequestHandler.cpp
index e3d34e5..d0203e8 100644
--- a/src/Daemon/RequestHandlers/CommandRequestHandler.cpp
+++ b/src/Daemon/RequestHandlers/CommandRequestHandler.cpp
@@ -28,7 +28,7 @@ void CommandRequestHandler::handleRequest(boost::shared_ptr<const Common::XmlDat
if(!getConnection()->isAuthenticated())
throw(Core::Exception(Core::Exception::PERMISSION));
- std::string command = packet->get<const std::string&>("command");
+ Core::String command = packet->get<const Core::String&>("command");
if(command == "reboot")
getApplication()->getSystemManager()->reboot();