mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-26 20:33:53 +01:00
check if data nil
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
if type(data) == "string" then
|
||||
if type(data) == "string" and data ~= nil then
|
||||
local cmd, value = data:match("([^=]+)=([^=]+)")
|
||||
if cmd == nil then
|
||||
data = data:lower()
|
||||
|
||||
Reference in New Issue
Block a user