def proceed(hostname): kwargs = dict(nick=nick, ident=ident, ip=ip, realname=realname, perform=perform, hostname=hostname) if password is not None: kwargs["password"] = password client = ircclient.createIRC(session, **kwargs) session.client = client
def proceed(hostname): kwargs = dict(nick=nick, ident=ident, ip=ip, realname=realname, perform=perform, hostname=hostname) if password is not None: kwargs["password"] = password if ((authUser is not None) and (authSecret is not None)): kwargs["authUser"] = authUser kwargs["authSecret"] = authSecret client = ircclient.createIRC(session, **kwargs) session.client = client