diff options
author | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2014-11-06 19:48:04 +0100 |
---|---|---|
committer | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2014-11-06 19:48:04 +0100 |
commit | 72339fed968449e4ed6479602174a56e2eaeb438 (patch) | |
tree | 64fb6c11d42654e9881fedeb6ac2660aceefa317 | |
parent | bf5b02299026f409dee8ca229b2f9ca971087587 (diff) | |
download | custom-ident-72339fed968449e4ed6479602174a56e2eaeb438.tar.gz custom-ident-72339fed968449e4ed6479602174a56e2eaeb438.tar.bz2 custom-ident-72339fed968449e4ed6479602174a56e2eaeb438.zip |
get ident from config
-rw-r--r-- | custom_ident.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/custom_ident.py b/custom_ident.py index 97da8d7..34fd9ff 100644 --- a/custom_ident.py +++ b/custom_ident.py @@ -8,4 +8,5 @@ http://inamidst.com/phenny/ """ def setup(phenny): - phenny.user = 'Nagios' + if hasattr(phenny.config, 'ident'): + phenny.user = phenny.config.ident |