mod_iq: Correctly handle the lack of 'to' on IQs

mod_iq: Immediately return an error for IQs to non-existing bare JIDs

mod_iq: Include event data in sub-events

mod_iq: Error reply for IQ to non-existing session. mod_iq now handles all 'iq/full' cases

componentmanager: Create events object for configured hosts, and carry it over to a new component if one is registered with no events object

Merge backout with following commits

Backed out changeset 98f0e9eadf3b (better fix on the way)

Automated merge with http://waqas.ath.cx:8000/

mod_iq: Fire sub-events for IQs directed at bare JIDs and hosts

modulemanager: Keep track of event handlers added by module:hook, and remove them on module unload

(0) -1000 -300 -100 -10 +10 +100 +300 +1000 tip

mercurial