diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/moduleapi.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/moduleapi.lua b/core/moduleapi.lua index 52410352..9bbff0c9 100644 --- a/core/moduleapi.lua +++ b/core/moduleapi.lua @@ -421,8 +421,8 @@ function api:send_iq(stanza, origin, timeout) return; end - self:hook(result_event, result_handler); - self:hook(error_event, error_handler); + self:hook(result_event, result_handler, 1); + self:hook(error_event, error_handler, 1); local timeout_handle = self:add_timer(timeout or 120, function () reject(errors.new({ |