mirror of https://github.com/nealey/spongy
Handling outq files now
This commit is contained in:
parent
e64bbb6aa2
commit
2aee3e1b31
|
@ -259,6 +259,7 @@ func (nw *Network) Connect(){
|
|||
|
||||
go nw.ServerWriteLoop()
|
||||
go nw.MessageDispatch()
|
||||
go nw.WatchOutqDirectory()
|
||||
|
||||
nw.login()
|
||||
|
||||
|
|
|
@ -77,6 +77,9 @@ func TestConnect(t *testing.T) {
|
|||
expect(t, current, " 001 ")
|
||||
expect(t, current, " JOIN " + n.Nick + " #SpongyTest")
|
||||
|
||||
ioutil.WriteFile(path.Join(base, "outq", "merf"), []byte("PART #SpongyTest\n"), os.ModePerm)
|
||||
expect(t, current, " PART ")
|
||||
|
||||
n.Close()
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue