Commits

ai0867 committed 5b94d27 Draft

Use a factory instance, not the class itself

  • Participants
  • Parent commits 18ccf50

Comments (0)

Files changed (1)

File irc/client.py

     @irc_functools.save_method_args
     def connect(self, server, port, nickname, password=None, username=None,
             ircname=None, localaddress="", localport=0, ssl=False, ipv6=False,
-            connect_factory=connection.Factory):
+            connect_factory=connection.Factory()):
         """Connect/reconnect to a server.
 
         Arguments: