Merge branch 'main' of https://github.com/dirtbags/moth into remove_moth_devel

This commit is contained in:
John Donaldson 2020-10-28 18:51:04 -04:00
commit 0a72f05d1d
1 changed files with 1 additions and 0 deletions

View File

@ -169,6 +169,7 @@ func (mh *MothRequestHandler) Register(teamName string) error {
if teamName == "" { if teamName == "" {
return fmt.Errorf("Empty team name") return fmt.Errorf("Empty team name")
} }
mh.State.LogEvent("register", mh.participantID, mh.teamID, "", 0)
return mh.State.SetTeamName(mh.teamID, teamName) return mh.State.SetTeamName(mh.teamID, teamName)
} }