From 72339fed968449e4ed6479602174a56e2eaeb438 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 6 Nov 2014 19:48:04 +0100 Subject: get ident from config --- custom_ident.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-1-g7c22