diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-05-06 18:58:29 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-05-06 18:58:29 +0100 |
commit | 82633f6735574ce4e752f41e7395d58c1b2c3592 (patch) | |
tree | ec317a74f3388f12ec5ecb97bcab1e97566af372 /core/moduleapi.lua | |
parent | 2648f37aa0c3b57f5bd5319497a79b1486e710f6 (diff) | |
download | prosody-82633f6735574ce4e752f41e7395d58c1b2c3592.tar.gz prosody-82633f6735574ce4e752f41e7395d58c1b2c3592.zip |
moduleapi: Remove accidental use of undefined and unnecessary 'priority' variable
Diffstat (limited to 'core/moduleapi.lua')
-rw-r--r-- | core/moduleapi.lua | 2 |
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) |