copy over info

This commit is contained in:
Zack Scholl 2018-06-30 12:04:07 -07:00
parent 9ee83e9562
commit 76a67376a0

View File

@ -76,6 +76,7 @@ func (c *Croc) Send(fname string, codePhrase string) (err error) {
go d.startServer()
e := Init()
e.WebsocketAddress = "ws://127.0.0.1:8140"
// copy over the information
c.cs.Lock()
e.cs.Lock()
e.cs.channel.codePhrase = codePhrase