From 130dd9155f192e53291c7f93df45e2ca42a5dd6b Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Mon, 26 Jan 2009 14:17:58 +0000 Subject: [PATCH] * When handling a multi-word zone in /way, make sure to set the description correctly --- TomTom.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TomTom.lua b/TomTom.lua index edf2cc1..e3997fa 100755 --- a/TomTom.lua +++ b/TomTom.lua @@ -1039,7 +1039,7 @@ SlashCmdList["TOMTOM_WAY"] = function(msg) local zone = table.concat(tokens, " ", 1, zoneEnd) local x,y,desc = select(zoneEnd + 1, unpack(tokens)) - if desc then desc = table.concat(tokens, " ", 4) end + if desc then desc = table.concat(tokens, " ", zoneEnd + 3) end -- Find a fuzzy match for the zone local matches = {} -- 1.7.9.5