aboutsummaryrefslogtreecommitdiff
path: root/src/pawsd/record.lua
diff options
context:
space:
mode:
authorAutumn <git@autumnfo.rest>2026-05-17 17:22:58 +0100
committerAutumn <git@autumnfo.rest>2026-05-17 17:22:58 +0100
commite7563787be5b3a9c1de66a7f4eb16ed09d9d4a21 (patch)
tree2956aed96a4d1873ac997bc17ad224815ba4bbb5 /src/pawsd/record.lua
parent2bad2793f33c3c0879d3a8a36de327a6626c32ed (diff)
[main] added ability to fetch service & tidied up functions
Diffstat (limited to 'src/pawsd/record.lua')
-rw-r--r--src/pawsd/record.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/pawsd/record.lua b/src/pawsd/record.lua
index ae6d145..869796f 100644
--- a/src/pawsd/record.lua
+++ b/src/pawsd/record.lua
@@ -20,18 +20,14 @@ function getrecord(response, offset)
local tagcount = getrecordtagnumber(response, offset)
- print("R>------ Number Of Tags: " .. tagcount)
-
local tagoffset = offset + 2
local tags = {}
for tagindex = 1, tagcount, 1 do
- print("\nT>------ Getting Tag " .. tagindex .. "...")
-
local tag = pawsd.tag.get(response, tagoffset)
- tags[tagindex] = tag.value
+ tags[tagindex] = tag.tag
tagoffset = tag.endoffset
end