Removed some unused code.
authorChris Jones <christian.jones@sri.com>
Sun, 08 Sep 2013 14:37:56 -0700
changeset 133 c4e0b897db83
parent 132 feaa24de9597
child 134 80b764fa2f08
Removed some unused code.
xmpp/filter.go
--- a/xmpp/filter.go	Sat Sep 07 19:53:58 2013 -0700
+++ b/xmpp/filter.go	Sun Sep 08 14:37:56 2013 -0700
@@ -34,16 +34,6 @@
 	close(botFiltIn)
 }
 
-// Starts the filter chain. Filters will all interpose themselves
-// between srvIn and cliOut.
-func (cl *Client) startFilters(srvIn, cliIn <-chan Stanza) (<-chan Stanza, <-chan Stanza) {
-	cliOut := make(chan Stanza)
-	srvOut := make(chan Stanza)
-	go filterMgr(cl.sendFilterAdd, srvIn, cliOut)
-	go filterMgr(cl.recvFilterAdd, cliIn, srvOut)
-	return cliOut, srvOut
-}
-
 // AddRecvFilter adds a new filter to the top of the stack through which
 // incoming stanzas travel on their way up to the client.
 func (cl *Client) AddRecvFilter(filt Filter) {