--- a/core/moduleapi.lua Thu Apr 26 16:53:32 2012 +0100 +++ b/core/moduleapi.lua Fri Apr 27 18:34:40 2012 +0100 @@ -42,7 +42,7 @@ end function api:get_host_type() - return hosts[self.host].type; + return self.host ~= "*" and hosts[self.host].type or nil; end function api:set_global()