Log

core/modulemanager.lua @ 4537:d8d257c13562

description author age
modulemanager: load(): Return and use the correct module object Matthew Wild Sun, 22 Jan 2012 19:27:06 +0000
modulemanager: Cleanup some unused variables, imports, whitespace and add a comment. Matthew Wild Sun, 22 Jan 2012 18:49:49 +0000
modulemanager, moduleapi: Replace hooks multitable with an event_handlers map stored in individual modules. Also adds module:hook_object_event() to hook events on any util.events compatible object. Matthew Wild Sun, 22 Jan 2012 18:49:11 +0000
modulemanager: Drop unnecessary prosody_events local Matthew Wild Sun, 22 Jan 2012 18:47:33 +0000
modulemanager: Some reorganisation. Only external change is (should be) that module-unloaded and module-loaded are no longer fired when reloading a module, the new event module-reloaded is fired instead. Matthew Wild Sun, 22 Jan 2012 18:46:17 +0000
modulemanager: Move in-module API functions to core.moduleapi (half the file size, yay) Matthew Wild Sun, 22 Jan 2012 18:41:55 +0000