summaryrefslogtreecommitdiffstats
path: root/src/Common/Requests/IdentifyRequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/Requests/IdentifyRequest.cpp')
-rw-r--r--src/Common/Requests/IdentifyRequest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Common/Requests/IdentifyRequest.cpp b/src/Common/Requests/IdentifyRequest.cpp
index 98868ef..a9e566a 100644
--- a/src/Common/Requests/IdentifyRequest.cpp
+++ b/src/Common/Requests/IdentifyRequest.cpp
@@ -27,8 +27,7 @@ void IdentifyRequest::sendRequest() {
Common::XmlData packet;
packet.setType("Identify");
- if(!hostname.empty())
- packet.set("hostname", hostname);
+ packet.set("hostname", hostname);
sendPacket(packet);
}