mirror of
https://github.com/bettercap/bettercap
synced 2025-07-11 07:37:00 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
69e91d3a13
commit
7ec7c20db8
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ import (
|
||||||
|
|
||||||
func getScript(src string) *HttpProxyScript {
|
func getScript(src string) *HttpProxyScript {
|
||||||
sess := session.Session{}
|
sess := session.Session{}
|
||||||
sess.Env = session.NewEnvironment(&sess)
|
sess.Env = session.NewEnvironment(&sess, "")
|
||||||
|
|
||||||
err, script := LoadHttpProxyScriptSource("", src, &sess)
|
err, script := LoadHttpProxyScriptSource("", src, &sess)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue