add ipv6 support

This commit is contained in:
mutantmonkey
2011-09-21 22:42:06 -04:00
parent 06133ef0c3
commit 8d601d52bd
3 changed files with 13 additions and 5 deletions

4
phenny
View File

@@ -29,6 +29,7 @@ def create_default_config(fn):
host = 'irc.example.net'
port = 6667
ssl = False
ipv6 = False
channels = ['#example', '#test']
owner = 'yournickname'
@@ -144,6 +145,9 @@ def main(argv=None):
if not hasattr(module, 'ssl'):
module.ssl = False
if not hasattr(module, 'ipv6'):
module.ipv6 = False
if not hasattr(module, 'password'):
module.password = None