Diff

core/moduleapi.lua @ 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
parent 6651:deaa3d66dc2c
child 6653:8241eac507c3
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)