misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-02-25 03:16:53 +01:00
parent 69e91d3a13
commit 7ec7c20db8

View file

@ -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 {