aboutsummaryrefslogtreecommitdiff
path: root/IRCBot.py
diff options
context:
space:
mode:
Diffstat (limited to 'IRCBot.py')
-rw-r--r--IRCBot.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/IRCBot.py b/IRCBot.py
index 75751e91..ac1dd6bd 100644
--- a/IRCBot.py
+++ b/IRCBot.py
@@ -1,6 +1,6 @@
import os, select, sys, threading, time, traceback, uuid
-import EventManager, IRCLineHandler, IRCServer, Logging
+import EventManager, Exports, IRCLineHandler, IRCServer, Logging
import ModuleManager, Timer
class Bot(object):
@@ -14,7 +14,9 @@ class Bot(object):
self.running = True
self.poll = select.epoll()
self._events = EventManager.EventHook(self)
- self.modules = ModuleManager.ModuleManager(self, self._events)
+ self._exports = Exports.Exports()
+ self.modules = ModuleManager.ModuleManager(self, self._events,
+ self._exports)
self.log = Logging.Log(self)
self.line_handler = IRCLineHandler.LineHandler(self, self._events)
self.timers = []