diff options
author | Sean B. Palmer <http://inamidst.com/sbp/> | 2008-03-08 11:35:25 +0000 |
---|---|---|
committer | Sean B. Palmer <http://inamidst.com/sbp/> | 2008-03-08 11:35:25 +0000 |
commit | 5cad6661c9437832e23469aba2c9f04d94b734ee (patch) | |
tree | 3e0ff899387e2cda8870d5a60ffd6547f5f712fa /modules | |
parent | 989ea13d0211c171ff04df08f69a79f6621f94ba (diff) | |
download | bot-5cad6661c9437832e23469aba2c9f04d94b734ee.tar.gz bot-5cad6661c9437832e23469aba2c9f04d94b734ee.tar.bz2 bot-5cad6661c9437832e23469aba2c9f04d94b734ee.zip |
Added a README and server password configurability.
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/startup.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/startup.py b/modules/startup.py index 1fd7348..6fc7fae 100755 --- a/modules/startup.py +++ b/modules/startup.py @@ -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) |