Changeset

6652:06116b2789f0

moduleapi: Remove accidental use of undefined and unnecessary 'priority' variable
author Matthew Wild <mwild1@gmail.com>
date Wed, 06 May 2015 18:58:29 +0100
parents 6651:deaa3d66dc2c
children 6653:8241eac507c3
files core/moduleapi.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/moduleapi.lua	Wed May 06 18:37:46 2015 +0100
+++ b/core/moduleapi.lua	Wed May 06 18:58:29 2015 +0100
@@ -130,7 +130,7 @@
 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)