This commit is contained in:
5
phenny
5
phenny
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user