3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

networks: also remove coreplugin call

This commit is contained in:
James Lu 2016-04-30 16:50:04 -07:00
parent 78f8a2fc8d
commit 4bd4c23a08

View File

@ -6,7 +6,6 @@ sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
import threading import threading
import coreplugin
import utils import utils
import world import world
from log import log from log import log
@ -56,10 +55,6 @@ def connect(irc, source, args):
network.connection_thread = threading.Thread(target=network.connect) network.connection_thread = threading.Thread(target=network.connect)
network.connection_thread.start() network.connection_thread.start()
# Call coreplugin's initialization method
log.debug('(%s) Calling main() function of coreplugin', irc.name)
coreplugin.main(irc)
# And the plugins we have too. # And the plugins we have too.
for plugin in world.plugins.values(): for plugin in world.plugins.values():
if hasattr(plugin, 'main'): if hasattr(plugin, 'main'):