From de1c01f47b9daec7ba303de5c52b4b7c2f1b3367 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 3 Apr 2014 11:51:13 +0000 Subject: [PATCH] Fix previous commit for config variables that are not channel-specific. --- plugins/Config/plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/Config/plugin.py b/plugins/Config/plugin.py index 128731ad6..f065474d2 100644 --- a/plugins/Config/plugin.py +++ b/plugins/Config/plugin.py @@ -240,7 +240,8 @@ class Config(callbacks.Plugin): if s: if hasattr(group, 'value') and not group._private: channel = msg.args[0] - if irc.isChannel(channel): + if irc.isChannel(channel) and \ + channel in group._children: globvalue = str(group) chanvalue = str(group.get(channel)) if chanvalue != globvalue: