Skip to content

Commit

Permalink
Fixing panic
Browse files Browse the repository at this point in the history
  • Loading branch information
jespino committed May 23, 2023
1 parent 4c08075 commit 9f67085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ func (p *Plugin) syncUsers() {
break
}

if newUser.Id == "" {
if newUser == nil || newUser.Id == "" {
continue
}

Expand Down

0 comments on commit 9f67085

Please sign in to comment.