core/moduleapi.lua
changeset 10579 5cf8e96575b3
parent 10218 f864e685e618
child 10580 f88f1151bc72
equal deleted inserted replaced
10578:f70c874b7936 10579:5cf8e96575b3
   396 			end
   396 			end
   397 		end
   397 		end
   398 
   398 
   399 		local function error_handler(event)
   399 		local function error_handler(event)
   400 			if event.stanza.attr.from == stanza.attr.to then
   400 			if event.stanza.attr.from == stanza.attr.to then
   401 				reject(errutil.from_stanza(event.stanza), event);
   401 				reject(errutil.from_stanza(event.stanza, event));
   402 				return true;
   402 				return true;
   403 			end
   403 			end
   404 		end
   404 		end
   405 
   405 
   406 		if iq_cache:get(cache_key) then
   406 		if iq_cache:get(cache_key) then