aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-11-01 20:11:44 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2017-11-01 20:11:44 -0700
commit8c0816995afaaf34cbfe903e6da68d8b6d8e8c39 (patch)
tree2d57c275f42facba3163ef665e386c8fcf67f646 /nomsu.lua
parent3ae1f696aa86665b3b41f30a677944d12d29f025 (diff)
Added empty string check.
Diffstat (limited to 'nomsu.lua')
-rw-r--r--nomsu.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/nomsu.lua b/nomsu.lua
index f7182ba..fa77c1c 100644
--- a/nomsu.lua
+++ b/nomsu.lua
@@ -424,6 +424,9 @@ do
if max_operations == nil then
max_operations = nil
end
+ if src == "" then
+ return nil, "", vars
+ end
if max_operations then
local timeout
timeout = function()