mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-30 08:49:15 +02:00
add parse ascii
This commit is contained in:
+1
-2
@@ -291,8 +291,7 @@ mec_handlers[0x2D] = function (data)
|
||||
local mel = string.byte(data, 2)
|
||||
local designation = string.sub(data, 3, 4)
|
||||
if string.byte(designation, 1) == 0x39 and string.byte(designation, 2) == 0x35 and mel > 2 then
|
||||
local data = string.sub(data, 5, 4+mel)
|
||||
pcall(hooks.data_handle, data)
|
||||
pcall(hooks.parse_ascii, string.sub(data, 5, 4+mel))
|
||||
end
|
||||
return 2+mel
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user