mirror of https://github.com/SeanOMik/znc-push.git
Fix #114: revert proxy change that breaks w/o libcurl
This commit is contained in:
parent
aac08a1430
commit
d29ce3be2a
4
push.cpp
4
push.cpp
|
@ -588,7 +588,7 @@ class CPushMod : public CModule
|
|||
// Create the socket connection, write to it, and add it to the queue
|
||||
CPushSocket *sock = new CPushSocket(this);
|
||||
sock->Connect(service_host, use_port, use_ssl);
|
||||
sock->Request(use_post, service_host, service_url, params, service_auth, options["proxy"].c_str());
|
||||
sock->Request(use_post, service_host, service_url, params, service_auth);
|
||||
AddSocket(sock);
|
||||
#endif
|
||||
}
|
||||
|
@ -1552,7 +1552,7 @@ class CPushMod : public CModule
|
|||
// Create the socket connection, write to it, and add it to the queue
|
||||
CPushSocket *sock = new CPushSocket(this);
|
||||
sock->Connect(service_host, use_port, use_ssl);
|
||||
sock->Request(use_post, service_host, service_url, params, service_auth, options["proxy"].c_str());
|
||||
sock->Request(use_post, service_host, service_url, params, service_auth);
|
||||
AddSocket(sock);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue