aboutsummaryrefslogtreecommitdiffstats
path: root/core
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
commit82633f6735574ce4e752f41e7395d58c1b2c3592 (patch)
treeec317a74f3388f12ec5ecb97bcab1e97566af372 /core
parent2648f37aa0c3b57f5bd5319497a79b1486e710f6 (diff)
downloadprosody-82633f6735574ce4e752f41e7395d58c1b2c3592.tar.gz
prosody-82633f6735574ce4e752f41e7395d58c1b2c3592.zip
moduleapi: Remove accidental use of undefined and unnecessary 'priority' variable
Diffstat (limited to 'core')
-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)