Commit graph

15 commits

Author SHA1 Message Date
jesopo
d5bd32a4c7 Remove unneeded "import gc" in ModuleManager.py 2018-09-01 18:58:20 +01:00
jesopo
164f0b0bbf Log when a module is unloaded, including how many references are left to the
module object
2018-09-01 18:49:50 +01:00
jesopo
2206502cca Don't purge children on purge_context() in EventHook, make event_context
str(uuid) instead of just uuid in ModuleManager
2018-09-01 18:27:10 +01:00
jesopo
29609fffd7 Added functionality to load, unload and reload modules from a command! 2018-09-01 11:29:26 +01:00
jesopo
9874f79b49 Give modules event objects with "context"s, to facilitate purging all the event
hooks for a module
2018-08-31 12:55:52 +01:00
jesopo
01a5032e87 Load whitelist in start.py, pass to ModuleManager.load_modules 2018-08-30 11:41:02 +01:00
jesopo
c7303b3e66 assert statements are optimised out, these statement were useless. 2018-01-09 15:35:33 +00:00
Evelyn
07fbe2fec8 Handle ImportError for module loading 2017-09-05 10:03:38 +01:00
Evelyn
e232ad5dae Add IRCv3→SASL support for nickserv auth, added optional module whitelist, added server option for recording channel keys, increased flexibility for event raising in linehandler, probably other things too 2017-07-12 10:00:45 +01:00
jesopo
2015b1971c
added _cleanup(), a function called if present on a module before being unloaded. 2016-04-18 16:47:12 +01:00
jesopo
052e741da0
added a very unreliable and BAD IDEA way to unload modules. 2016-04-14 16:47:33 +01:00
jesopo
20058c4b67
added an extra check related to the --require-config hashflag, causing a non-true value to be counted as not present. 2016-04-06 16:03:38 +01:00
jesopo
80818fad66
added an untested module requirement system. 2016-04-04 12:36:59 +01:00
jesopo
87af05d4b6
added a "hashflag" to modules to stop modules being loaded that rely on a not-present config option. 2016-03-30 19:31:23 +01:00
jesopo
f943d63098
first commit. 2016-03-29 12:56:58 +01:00