summaryrefslogtreecommitdiff
path: root/dns.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-06 14:57:51 -0600
committerJeff Carr <[email protected]>2024-01-06 14:57:51 -0600
commit5dee2af78434191a27987acfb02902a11f81067c (patch)
tree43e9877f72f3a575c68c3e6648ab4928ecf511cb /dns.go
parentba3d5a3cb24429692a1d799e73a9d53cc798212e (diff)
old window is nearly deprecated
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'dns.go')
-rw-r--r--dns.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dns.go b/dns.go
index a2e4763..ac4f35d 100644
--- a/dns.go
+++ b/dns.go
@@ -111,10 +111,10 @@ func lookupNS(domain string) {
}
tmp = shell.Chomp(tmp)
- if (tmp != me.NSrr.S) {
+ if (tmp != me.status.NSrr.Get()) {
me.changed = true
log.Log(CHANGE, "lookupNS() setting me.NSrr =", tmp)
- me.NSrr.SetText(tmp)
+ me.status.NSrr.Set(tmp)
}
}