added "UNSET" and "UNDEF" (WW3 compat) to node object sets

This commit is contained in:
Gregory Kurtzer
2021-03-06 18:56:15 -08:00
parent dcea5ece28
commit 902c6974c8

View File

@@ -1,9 +1,5 @@
package node
import (
"strings"
)
/**********
*
* Sets
@@ -15,7 +11,7 @@ func (self *Entry) Set(val string) {
return
}
if strings.ToUpper(val) == "DELETE" {
if val == "UNDEF" || val == "DELETE" || val == "UNSET" {
self.value = ""
} else {
self.value = val