summaryrefslogtreecommitdiff
path: root/script/core/matchkey.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/matchkey.lua')
-rw-r--r--script/core/matchkey.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/matchkey.lua b/script/core/matchkey.lua
index 24e1ca41..b504fb1d 100644
--- a/script/core/matchkey.lua
+++ b/script/core/matchkey.lua
@@ -13,7 +13,7 @@ return function (input, other, fast)
if lMe == lOther:sub(1, #lMe) then
return true
end
- if (fast or #input == 1) and input:sub(1, 1) ~= other:sub(1, 1) then
+ if fast and input:sub(1, 1) ~= other:sub(1, 1) then
return false
end
local chars = {}