aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy.py b/modules/proxy.py
index ccbda4ab..744afae1 100644
--- a/modules/proxy.py
+++ b/modules/proxy.py
@@ -36,5 +36,5 @@ class Module(ModuleManager.BaseModule):
return lambda host, port, bind, timeout: self._make_socket(
ptype, phost, pport, host, port, bind, timeout)
def _make_socket(self, ptype, phost, pport, host, port, bind, timeout):
- return socks.create_connection((host, port), 20, bind,
+ return socks.create_connection((host, port), timeout, bind,
ptype, phost, pport)