forked from Deuxfleurs/bottin
Fix horrible, horrible bug
This commit is contained in:
parent
f43934a7b9
commit
4367e4a232
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ func (server *Server) memberOfRemove(member string, group string) {
|
||||||
newMemberOf := []string{}
|
newMemberOf := []string{}
|
||||||
for _, mb := range memberOf {
|
for _, mb := range memberOf {
|
||||||
if mb != group {
|
if mb != group {
|
||||||
newMemberOf = append(newMemberOf, group)
|
newMemberOf = append(newMemberOf, mb)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue