~emersion/soju

6a1a05b1d4931e65fc724f1ad8e453eefb449e26 — Hubert Hirtz 8 days ago 31cd568
if true return true else return false

Trivial improvement
1 files changed, 1 insertions(+), 4 deletions(-)

M upstream.go
M upstream.go => upstream.go +1 -4
@@ 227,10 227,7 @@ func (uc *upstreamConn) getChannel(name string) (*upstreamChannel, error) {
}

func (uc *upstreamConn) isChannel(entity string) bool {
	if i := strings.IndexByte(uc.availableChannelTypes, entity[0]); i >= 0 {
		return true
	}
	return false
	return strings.ContainsRune(uc.availableChannelTypes, rune(entity[0]))
}

func (uc *upstreamConn) getPendingLIST() *pendingLIST {