diff options
-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 |