summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/HTTPClientReceiver.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client/HTTPClientReceiver.cpp b/src/client/HTTPClientReceiver.cpp
index bafcae9f..cad55107 100644
--- a/src/client/HTTPClientReceiver.cpp
+++ b/src/client/HTTPClientReceiver.cpp
@@ -138,8 +138,6 @@ HTTPClientReceiver::message_callback(SoupSession* session, SoupMessage* msg, voi
const string path = soup_message_get_uri(msg)->path;
if (path == Path::root_uri) {
me->_target->response_ok(0);
- me->_target->enable();
-
} else if (path == "/plugins") {
if (msg->response_body->data == NULL) {
@@ -147,7 +145,6 @@ HTTPClientReceiver::message_callback(SoupSession* session, SoupMessage* msg, voi
} else {
Glib::Mutex::Lock lock(me->_mutex);
me->_target->response_ok(0);
- me->_target->enable();
me->_parser->parse_string(me->_world, me->_target.get(),
Glib::ustring(msg->response_body->data),
Glib::ustring("."));
@@ -159,7 +156,6 @@ HTTPClientReceiver::message_callback(SoupSession* session, SoupMessage* msg, voi
} else {
Glib::Mutex::Lock lock(me->_mutex);
me->_target->response_ok(0);
- me->_target->enable();
me->_parser->parse_string(me->_world, me->_target.get(),
Glib::ustring(msg->response_body->data),
Glib::ustring("/patch/"));