diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-07-30 23:55:52 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-07-30 23:55:52 +0000 |
commit | fd65e952b4443b9e516a9f4f8668aac9dc27cd48 (patch) | |
tree | e1608c29390c9757e46c7724e9e9ce19c24b70cd /plugins/ip.lua | |
parent | * fixed a crash when unloading a lua script (diff) | |
download | milla-fd65e952b4443b9e516a9f4f8668aac9dc27cd48.tar.gz milla-fd65e952b4443b9e516a9f4f8668aac9dc27cd48.zip |
* fixed a bug where we would end up with an unwanted whitespace at the
beginning of all args passed to the custom lua commands
* added some notes to the readme
Diffstat (limited to 'plugins/ip.lua')
-rw-r--r-- | plugins/ip.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/ip.lua b/plugins/ip.lua index 79ac6e2..38c9f4e 100644 --- a/plugins/ip.lua +++ b/plugins/ip.lua @@ -14,6 +14,8 @@ function milla_get_ip(arg) local url = "http://ip-api.com/json/" .. arg + print("Requesting: " .. url) + local response, err = http.request("GET", url) if err ~= nil then print(err) end |