summaryrefslogtreecommitdiffstats
path: root/phenny
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2013-07-25 19:22:41 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2015-12-03 03:31:29 +0100
commit0d6455e0d1c4655d125b3291caa5612496bae43c (patch)
treeb2419c07b98200315e2f838fdba22a71306adfb9 /phenny
parentbf687718c9bc4bcf80e3ef436f51ff5e992ab618 (diff)
downloadbot-0d6455e0d1c4655d125b3291caa5612496bae43c.tar.gz
bot-0d6455e0d1c4655d125b3291caa5612496bae43c.tar.bz2
bot-0d6455e0d1c4655d125b3291caa5612496bae43c.zip
add ssl support
Diffstat (limited to 'phenny')
-rwxr-xr-xphenny4
1 files changed, 4 insertions, 0 deletions
diff --git a/phenny b/phenny
index 1bc110b..6406dda 100755
--- a/phenny
+++ b/phenny
@@ -27,6 +27,7 @@ def create_default_config(fn):
print >> f, trim("""\
nick = 'phenny'
host = 'irc.example.net'
+ ssl = False
channels = ['#example', '#test']
owner = 'yournickname'
@@ -145,6 +146,9 @@ def main(argv=None):
if not hasattr(module, 'port'):
module.port = 6667
+ if not hasattr(module, 'ssl'):
+ module.ssl = False
+
if not hasattr(module, 'password'):
module.password = None