hunk.code_window: 		return
   	}
   	if (c.App.License() == nil || !*c.App.License().Features.GuestAccounts) && patch.Permissions != nil {
   		if oldRole.Name == "system_guest" || oldRole.Name == "team_guest" || oldRole.Name == "channel_guest" {
   			c.Err = model.NewAppError("Api4.PatchRoles", "api.roles.patch_roles.license.error", nil, "", http.StatusNotImplemented)
   			return
   		}
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit: 	if c.App.License() == nil && patch.Permissions != nil {
  
hunk.file_path: api4/role.go
hunk.type: replace
file: // Copyright 2017 The Go Authors. All rights reserved.
  // Use of this source code is governed by a BSD-style
  // license that can be found in the LICENSE file.
  
  // +build aix darwin dragonfly freebsd netbsd
  
  package socket
  
  func (h *msghdr) setIov(vs []iovec) {
  	l := len(vs)
  	if l == 0 {
  		return
  	}
  	h.Iov = &vs[0]
  	h.Iovlen = int32(l)
  }
  