This commit is contained in:
mutantmonkey
2011-07-28 10:38:20 -04:00
3 changed files with 12 additions and 4 deletions

5
phenny
View File

@@ -27,6 +27,8 @@ def create_default_config(fn):
print >> f, trim("""\
nick = 'phenny'
host = 'irc.example.net'
port = 6667
ssl = False
channels = ['#example', '#test']
owner = 'yournickname'
@@ -135,6 +137,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