summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/IRCInterface.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/IRCInterface.py')
-rw-r--r--module/plugins/hooks/IRCInterface.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hooks/IRCInterface.py b/module/plugins/hooks/IRCInterface.py
index 8be84f863..ae0a51385 100644
--- a/module/plugins/hooks/IRCInterface.py
+++ b/module/plugins/hooks/IRCInterface.py
@@ -53,7 +53,8 @@ class IRCInterface(Thread, Hook):
Thread.__init__(self)
Hook.__init__(self, core, manager)
self.setDaemon(True)
- self.sm = core.server_methods
+ #self.sm = core.server_methods
+ self.api = core.api #todo, only use api
def coreReady(self):
self.new_package = {}