modulemanager: Added hook(event, handler) to the plugin API

stanza_router: Fix syntax errors

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

stanza_router: Fire per-host stanza events

httpclient_listener: Don't use print()...

sessionmanager: Removed a redundant check

sessionmanager: Fixed an old FIXME: A problem caused by an error on an authenticated but unbound session

sessionmanager: Add/remove sessions from full_sessions and bare_sessions when binding/unbinding sessions

sessionmanager: Added reference to globals full_sessions and bare_sessions

sessionmanager: Removed reference to global 'sessions'

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

mercurial