Example #1
0
// Dispatch the line to several channels.
// We need this for QUIT for example, which goes to all channels
// that user was in.
func (dis *Dispatcher) DispatchMany(l *line.Line, channels []string) {

	for _, chName := range channels {
		l.Channel = chName
		dis.Dispatch(l)
	}
}