diff options
Diffstat (limited to 'formspec.go')
-rw-r--r-- | formspec.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/formspec.go b/formspec.go index 5a96b74..12553f1 100644 --- a/formspec.go +++ b/formspec.go @@ -1,11 +1,11 @@ -package main +package proxy import ( "regexp" "strings" ) -func (sc *serverConn) prependFormspec(fs *string) { +func (sc *ServerConn) prependFormspec(fs *string) { reg := regexp.MustCompile("[^a-zA-Z0-9-_.:]") reg2 := regexp.MustCompile("[a-zA-Z0-9-_.]*\\.[a-zA-Z-_.]+") subs := reg.Split(*fs, -1) |