From b26329cdda2ff599d01afbe01b2e2df3896a6b57 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Mon, 30 Jan 2017 15:36:31 -0500 Subject: Fix small bug in webhub. (#5229) --- app/web_hub.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/web_hub.go') diff --git a/app/web_hub.go b/app/web_hub.go index ad8d9e233..21ed341ce 100644 --- a/app/web_hub.go +++ b/app/web_hub.go @@ -227,7 +227,9 @@ func (h *Hub) Start() { } if userId == webConCandidate.UserId { found = true - break + if indexToDel != -1 { + break + } } } -- cgit v1.2.3-1-g7c22