Update module_param.go

This commit is contained in:
yungtravla 2018-10-30 20:08:30 +10:00 committed by GitHub
parent 572d9d7daf
commit 49eb83bec3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,8 +110,6 @@ func (p ModuleParam) Get(s *Session) (error, interface{}) {
hw := make([]byte, 6)
rand.Read(hw)
v = net.HardwareAddr(hw).String()
default:
// Nothing special
}
return p.Validate(v)