Actually pass timers to src/ModuleManager.py

This commit is contained in:
jesopo 2018-10-12 18:13:48 +01:00
parent 819f4e0680
commit e901f105dd

View file

@ -37,8 +37,8 @@ database = Database.Database(log, args.database)
events = events = EventManager.EventHook(log) events = events = EventManager.EventHook(log)
exports = exports = Exports.Exports() exports = exports = Exports.Exports()
timers = Timers.Timers(database, events, log) timers = Timers.Timers(database, events, log)
modules = modules = ModuleManager.ModuleManager(events, exports, config, log, modules = modules = ModuleManager.ModuleManager(events, exports, timers, config,
os.path.join(directory, "modules")) log, os.path.join(directory, "modules"))
bot = IRCBot.Bot(directory, args, cache, config, database, events, bot = IRCBot.Bot(directory, args, cache, config, database, events,
exports, log, modules, timers) exports, log, modules, timers)