diff options
Diffstat (limited to 'memberof.go')
-rw-r--r-- | memberof.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/memberof.go b/memberof.go index 5bc7a26..cd0686a 100644 --- a/memberof.go +++ b/memberof.go @@ -43,7 +43,7 @@ func (server *Server) memberOfRemove(member string, group string) { newMemberOf := []string{} for _, mb := range memberOf { if mb != group { - newMemberOf = append(newMemberOf, group) + newMemberOf = append(newMemberOf, mb) } } |