diff options
Diffstat (limited to 'client/netcom.cc')
-rw-r--r-- | client/netcom.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/netcom.cc b/client/netcom.cc index d2d3cdd..2798a59 100644 --- a/client/netcom.cc +++ b/client/netcom.cc @@ -91,6 +91,8 @@ QDomDocument NetCom::makeTransfer(QDomDocument &doc, bool lockgui, LOG(netcom, "SESSION ID: %s\n", sessionid.toStdString().c_str()); + request.setRawHeader("User-Agent", "Pracro Client v"VERSION); + if(sessionid != "") { request.setRawHeader("SessionID", sessionid.toStdString().c_str()); } else { |