summaryrefslogtreecommitdiffstats
path: root/phenny
diff options
context:
space:
mode:
Diffstat (limited to 'phenny')
-rwxr-xr-xphenny9
1 files changed, 6 insertions, 3 deletions
diff --git a/phenny b/phenny
index dc36d12..5fb7d7e 100755
--- a/phenny
+++ b/phenny
@@ -30,8 +30,7 @@ def create_default_config(fn):
channels = ['#example', '#test']
owner = 'yournickname'
- # This isn't implemented yet:
- # serverpass = 'yourserverpassword'
+ # password = 'yourserverpassword'
# These are people who will be able to use admin.py's functions...
admins = [owner, 'someoneyoutrust']
@@ -43,7 +42,8 @@ def create_default_config(fn):
#
# enable = []
- # Directories to load opt modules from
+ # Directories to load user modules from
+ # e.g. /path/to/my/modules
extra = []
# Services to load: maps channel names to white or black lists
@@ -135,6 +135,9 @@ def main(argv=None):
if not hasattr(module, 'port'):
module.port = 6667
+ if not hasattr(module, 'password'):
+ module.password = None
+
if module.host == 'irc.example.net':
error = ('Error: you must edit the config file first!\n' +
"You're currently using %s" % module.filename)