]> jfr.im git - erebus.git/commit - modlib.py
added softdeps to modinfo - bumped APIVERSION
authorzonidjan <redacted>
Sun, 3 Sep 2017 00:55:36 +0000 (19:55 -0500)
committerzonidjan <redacted>
Sun, 3 Sep 2017 00:55:36 +0000 (19:55 -0500)
commita62d0d18bbb5926d22df18db5eba53eb21a10817
treebc52628daf80973f395b378ebff9ae6ba9e95154
parent591964e837ca06bef75e99a022dbb09582488f51
added softdeps to modinfo - bumped APIVERSION

APIVERSION is now 2. modules written for 2 are compatible with 1;
however modules written for 1 need to be updated (by adding softdeps
to modinfo).

softdeps are loaded before the current module is started, when possible.
however, if they are disabled (by setting them to 0 in config
"[autoloads]"), or non-existent, they will be ignored. Additionally, if
they are unloaded at runtime any modules with softdeps on them will
continue to be loaded and are expected to not raise any errors.
13 files changed:
ctlmod.py
erebus.py
modlib.py
modules/coins.py
modules/control.py
modules/eval.py
modules/foo.py
modules/help.py
modules/resources.py
modules/sms.py
modules/trivia.py
modules/urls.py
modules/userinfo.py