aboutsummaryrefslogtreecommitdiffstats
path: root/core/moduleapi.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-05-06 18:58:29 +0100
committerMatthew Wild <mwild1@gmail.com>2015-05-06 18:58:29 +0100
commitaec67b444ed2ddaaf7275b8e0dfa1f439ccb600c (patch)
treeec317a74f3388f12ec5ecb97bcab1e97566af372 /core/moduleapi.lua
parent1b811608357cb2b249f41672ef285b6baf332fa2 (diff)
downloadprosody-aec67b444ed2ddaaf7275b8e0dfa1f439ccb600c.tar.gz
prosody-aec67b444ed2ddaaf7275b8e0dfa1f439ccb600c.zip
moduleapi: Remove accidental use of undefined and unnecessary 'priority' variable
Diffstat (limited to 'core/moduleapi.lua')
-rw-r--r--core/moduleapi.lua2
1 files changed, 1 insertions, 1 deletions
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)