From aec67b444ed2ddaaf7275b8e0dfa1f439ccb600c Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 6 May 2015 18:58:29 +0100 Subject: moduleapi: Remove accidental use of undefined and unnecessary 'priority' variable --- core/moduleapi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/moduleapi.lua b/core/moduleapi.lua index c40363a1..62c9f534 100644 --- a/core/moduleapi.lua +++ b/core/moduleapi.lua @@ -130,7 +130,7 @@ function api:wrap_event(event, handler) end function api:wrap_global(event, handler) - return self:hook_object_event(prosody.events, event, handler, priority); + return self:hook_object_event(prosody.events, event, handler); end function api:require(lib) -- cgit v1.2.3