src/eric7/Network/IRC/IrcWidget.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10428
a071d4065202
diff -r 7febcdccb2a1 -r 435cc5875135 src/eric7/Network/IRC/IrcWidget.py
--- a/src/eric7/Network/IRC/IrcWidget.py	Thu May 25 11:12:05 2023 +0200
+++ b/src/eric7/Network/IRC/IrcWidget.py	Thu May 25 19:51:47 2023 +0200
@@ -278,11 +278,10 @@
                 self.__identityName = ""
                 self.__quitMessage = ""
 
-    def __editNetwork(self, name):
+    @pyqtSlot()
+    def __editNetwork(self):
         """
         Private slot to edit the network configuration.
-
-        @param name name of the network to edit (string)
         """
         from .IrcNetworkListDialog import IrcNetworkListDialog
 
@@ -747,14 +746,13 @@
         if code < 400:
             return self.__handleServerReply(code, match.group(1), match.group(3))
         else:
-            return self.__handleServerError(code, match.group(1), match.group(3))
+            return self.__handleServerError(code, match.group(3))
 
-    def __handleServerError(self, code, server, message):
+    def __handleServerError(self, code, message):
         """
         Private slot to handle a server error reply.
 
         @param code numerical code sent by the server (integer)
-        @param server name of the server (string)
         @param message message sent by the server (string)
         @return flag indicating, if the message was handled (boolean)
         """

eric ide

mercurial