Added a README and server password configurability.

This commit is contained in:
Sean B. Palmer
2008-03-08 11:35:25 +00:00
parent 989ea13d02
commit 5cad6661c9
2 changed files with 13 additions and 0 deletions

View File

@@ -8,6 +8,9 @@ http://inamidst.com/phenny/
"""
def startup(phenny, input):
if hasattr(phenny.config, 'serverpass'):
phenny.write(('PASS', phenny.config.serverpass))
if hasattr(phenny.config, 'password'):
phenny.msg('NickServ', 'IDENTIFY %s' % phenny.config.password)
__import__('time').sleep(5)