configmanager: Default options appearing before Host "*" to global (fixes potential traceback)

remotes/origin/sasl
Matthew Wild 17 years ago
parent 08391171c3
commit 57f4a5c837
  1. 1
      core/configmanager.lua

@ -113,6 +113,7 @@ do
set(env.__currenthost or "*", "core", k, v);
end});
rawset(env, "__currenthost", "*") -- Default is global
function env.Host(name)
rawset(env, "__currenthost", name);
-- Needs at least one setting to logically exist :)

Loading…
Cancel
Save