mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 09:19:23 +01:00
networks: also remove coreplugin call
This commit is contained in:
parent
78f8a2fc8d
commit
4bd4c23a08
@ -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'):
|
||||||
|
Loading…
Reference in New Issue
Block a user