From b096c7a2e3bdc1673ff44f2c2d5472036ff0f877 Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 8 Aug 2016 18:50:36 -0700 Subject: [PATCH] relay_clientbot: fix wrong key for clientbot_styles --- plugins/relay_clientbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/relay_clientbot.py b/plugins/relay_clientbot.py index d5c19f1..09eb5d9 100644 --- a/plugins/relay_clientbot.py +++ b/plugins/relay_clientbot.py @@ -59,7 +59,7 @@ def cb_relay_core(irc, source, command, args): # .get() chains are lovely. Try to fetch the format for the given command from the # relay:clientbot_format:$command key, falling back to one defined in default_styles # above, and then nothing if not found. - text_template = conf.conf.get('relay', {}).get('clientbot_format', {}).get(real_command, + text_template = conf.conf.get('relay', {}).get('clientbot_styles', {}).get(real_command, default_styles.get(real_command, '')) text_template = string.Template(text_template)