Fix horrible, horrible bug

This commit is contained in:
Alex 2020-11-13 12:47:54 +01:00
parent f43934a7b9
commit 4367e4a232

View file

@ -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)
}
}