From 0b695d73168af6a8444e1c0a0f4e6b0f85506fc4 Mon Sep 17 00:00:00 2001 From: Brian Sherson Date: Tue, 11 Mar 2014 18:48:59 -0700 Subject: Major changes --- startirc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'startirc.py') diff --git a/startirc.py b/startirc.py index c3a6cec..111d9d0 100755 --- a/startirc.py +++ b/startirc.py @@ -54,14 +54,14 @@ signal.signal(signal.SIGTERM, sigterm) logroot = os.path.join(os.environ["HOME"], "IRC") InsomniaIRC = networks["InsomniaIRC"] = irc.Connection( - server="perseus.insomniairc.net", ipv6=False, ssl=True, log=open("/dev/null", "w")) + server="irc.insomniairc.net", nick="pyIRC", secure=True) ax = autoexec.Autoexec() log = logger.Logger(logroot) ### Be sure to generate your own cert.pem and key.pem files! BNC = bouncer.Bouncer( - "", 16698, ssl=True, certfile="cert.pem", keyfile="key.pem", autoaway="I'm off to see the wizard!") + "", 16698, secure=True, certfile="cert.pem", keyfile="key.pem", autoaway="I'm off to see the wizard!") for (label, IRC) in networks.items(): IRC.addAddon(log, label=label) @@ -71,4 +71,4 @@ for (label, IRC) in networks.items(): InsomniaIRC.addAddon(ax, label="InsomniaIRC", autojoin=["#chat"]) for (label, IRC) in networks.items(): - IRC.start() \ No newline at end of file + IRC.start() -- cgit v1.2.3