Comparison

core/moduleapi.lua @ 10213:ee62754b0233

core.moduleapi: Uppercase "IQ stanza" for consistency It's written like that elsewhere in the send_iq method
author Kim Alvefur <zash@zash.se>
date Wed, 21 Aug 2019 23:15:05 +0200
parent 9930:12a31296d63d
child 10214:f864e685e618
comparison
equal deleted inserted replaced
10212:a53126b7fe22 10213:ee62754b0233
405 end 405 end
406 406
407 if iq_cache:get(cache_key) then 407 if iq_cache:get(cache_key) then
408 reject(errutil.new({ 408 reject(errutil.new({
409 type = "modify", condition = "conflict", 409 type = "modify", condition = "conflict",
410 text = "iq stanza id attribute already used", 410 text = "IQ stanza id attribute already used",
411 })); 411 }));
412 return; 412 return;
413 end 413 end
414 414
415 self:hook(result_event, result_handler); 415 self:hook(result_event, result_handler);