Commits

ai0867 committed 5b94d27

Use a factory instance, not the class itself

Comments (0)

Files changed (1)

     @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: