added "UNSET" and "UNDEF" (WW3 compat) to node object sets
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user