Fixed users unlock in ACL LOAD command handler

This commit is contained in:
Kelvin Clement Mwinuka
2024-05-19 04:28:06 +08:00
parent c634b1b20e
commit a9c11adcd6
6 changed files with 930 additions and 830 deletions

View File

@@ -190,6 +190,7 @@ func (user *User) UpdateUser(cmd []string) error {
// Parse channels
if strings.EqualFold(str, "allChannels") {
user.IncludedPubSubChannels = []string{"*"}
continue
}
if len(str) > 2 && str[1] == '&' {
if str[0] == '+' {