1
0
Fork 0

Only call with attrs that need to be non-zero.

This commit is contained in:
Matt Goodall 2012-07-10 17:12:54 +01:00
parent c33950f532
commit cf45380866
1 changed files with 5 additions and 6 deletions

View File

@ -20,12 +20,11 @@ type XMPP struct {
func newXMPP(jid JID, stream *Stream) *XMPP {
x := &XMPP{
jid,
stream,
make(chan interface{}),
make(chan interface{}),
0,
make(map[FilterId]filter),
JID: jid,
stream: stream,
in: make(chan interface{}),
out: make(chan interface{}),
filters: make(map[FilterId]filter),
}
go x.sender()
go x.receiver()