summaryrefslogtreecommitdiff
path: root/wsc.go
diff options
context:
space:
mode:
Diffstat (limited to 'wsc.go')
-rw-r--r--wsc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsc.go b/wsc.go
index 6da50da..4142512 100644
--- a/wsc.go
+++ b/wsc.go
@@ -142,7 +142,7 @@ func handleConn(
* userCourseGroups stores whether the user has already chosen a course
* in the courseGroup.
*/
- var userCourseGroups userCourseGroupsT = make(map[courseGroupT]bool)
+ var userCourseGroups userCourseGroupsT = make(map[courseGroupT]struct{})
err := populateUserCourseGroups(newCtx, &userCourseGroups, userID)
if err != nil {
return reportError(