summaryrefslogtreecommitdiff
path: root/startirc.py
diff options
context:
space:
mode:
Diffstat (limited to 'startirc.py')
-rwxr-xr-xstartirc.py6
1 files changed, 3 insertions, 3 deletions
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()