mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-08-26 19:37:39 +00:00
Update to Arceliar/ironwood@743fe2f
This commit is contained in:
@@ -17,7 +17,7 @@ func chuser(input string) error {
|
||||
if givenUser == "" {
|
||||
return fmt.Errorf("user is empty")
|
||||
}
|
||||
if strings.Index(input, ":") > -1 && givenGroup == "" {
|
||||
if strings.Contains(input, ":") && givenGroup == "" {
|
||||
return fmt.Errorf("group is empty")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user