From 44066a08973f29598540253e317ef6f9b98d5133 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 2 Dec 2009 20:32:44 +0000 Subject: modulemanager, net.dns: Remove trailing whitespace --- core/modulemanager.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core') diff --git a/core/modulemanager.lua b/core/modulemanager.lua index 6440f8b8..65a38ccb 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -175,7 +175,7 @@ function is_loaded(host, name) end function unload(host, name, ...) - local mod = get_module(host, name); + local mod = get_module(host, name); if not mod then return nil, "module-not-loaded"; end if module_has_method(mod, "unload") then @@ -282,7 +282,7 @@ function module_has_method(module, method) end function call_module_method(module, method, ...) - if module_has_method(module, method) then + if module_has_method(module, method) then local f = module.module[method]; return pcall(f, ...); else @@ -291,7 +291,7 @@ function call_module_method(module, method, ...) end ----- API functions exposed to modules ----------- --- Must all be in api.* +-- Must all be in api.* -- Returns the name of the current module function api:get_name() -- cgit v1.2.3