summaryrefslogtreecommitdiffstats
path: root/src/Server/Requests/CommandRequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Server/Requests/CommandRequest.cpp')
-rw-r--r--src/Server/Requests/CommandRequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server/Requests/CommandRequest.cpp b/src/Server/Requests/CommandRequest.cpp
index 33f8dc0..c3c09b9 100644
--- a/src/Server/Requests/CommandRequest.cpp
+++ b/src/Server/Requests/CommandRequest.cpp
@@ -26,7 +26,7 @@ namespace Requests {
void CommandRequest::sendRequest() {
Common::XmlPacket packet;
packet.setType("Command");
- packet.add("command", reboot ? "reboot" : "shutdown");
+ packet.set("command", reboot ? "reboot" : "shutdown");
sendPacket(packet);
}