Switch back to "RemoveTempListener" call

This commit is contained in:
Brian Buller 2014-12-23 11:24:28 -06:00
parent 581dc01338
commit 5e2e0bdcaa

View File

@ -52,7 +52,7 @@ func (mm MessageManager) ProcessMessage(inp string) bool {
if consumed { if consumed {
// When a temp listener is consumed, we delete it // When a temp listener is consumed, we delete it
fmt.Println("Consumed Event from Temporary Listener.") fmt.Println("Consumed Event from Temporary Listener.")
mm.finishedTempListener = i mm.RemoveTempListener(i)
return true return true
} }
} }