--- a/eric6/Network/IRC/IrcNetworkWidget.py Sun Jan 17 13:53:08 2021 +0100 +++ b/eric6/Network/IRC/IrcNetworkWidget.py Mon Feb 01 10:38:16 2021 +0100 @@ -12,7 +12,6 @@ from PyQt5.QtWidgets import QWidget, QApplication, QMenu from E5Gui import E5MessageBox, E5FileDialog -from E5Gui.E5Application import e5App from .Ui_IrcNetworkWidget import Ui_IrcNetworkWidget @@ -93,12 +92,7 @@ """ Public method to perform the IRC auto connection. """ - userInterface = e5App().getObject("UserInterface") - online = userInterface.isOnline() - self.connectButton.setEnabled(online) - userInterface.onlineStateChanged.connect(self.__onlineStateChanged) - if online: - self.__autoConnect() + self.__autoConnect() def __autoConnect(self): """ @@ -307,7 +301,7 @@ @param msgType txpe of the message (string) @param msg message to be added (string) - @keyparam filterMsg flag indicating to filter the message (boolean) + @param filterMsg flag indicating to filter the message (boolean) """ if filterMsg: msg = ircFilter(msg)