# # # patch "commands.cc" # from [20f15e3021688159839211bc361eb2694773f4c9] # to [a4dd5e2fc7f1d92d16713ab3f6bf287c566d647e] # ============================================================ --- commands.cc 20f15e3021688159839211bc361eb2694773f4c9 +++ commands.cc a4dd5e2fc7f1d92d16713ab3f6bf287c566d647e @@ -460,8 +460,11 @@ namespace commands tmp = id; } - matches.clear(); - matches.insert(tmp); + if (!tmp.empty()) + { + matches.clear(); + matches.insert(tmp); + } } if (matches.empty())