diff --git a/plugins/Config/plugin.py b/plugins/Config/plugin.py index d2933f0c5..43a576375 100644 --- a/plugins/Config/plugin.py +++ b/plugins/Config/plugin.py @@ -159,7 +159,9 @@ class Config(callbacks.Plugin): irc.isChannel(vname): # Skip pseudo-children that are channel names continue - if hasattr(v, '_channelValue') and v._channelValue: + if getattr(v, '_networkValue', False): + vname = ':' + vname + if getattr(v, '_channelValue', False): vname = '#' + vname if v._added and not all(irc.isChannel, v._added): vname = '@' + vname diff --git a/plugins/Config/test.py b/plugins/Config/test.py index 64cd66991..6d19a319f 100644 --- a/plugins/Config/test.py +++ b/plugins/Config/test.py @@ -53,7 +53,7 @@ class ConfigTestCase(ChannelPluginTestCase): self.assertError('config list asldfkj') self.assertError('config list supybot.asdfkjsldf') self.assertNotError('config list supybot') - self.assertNotError('config list supybot.replies') + self.assertRegexp('config list supybot.replies', ', #:errorOwner, ') self.assertRegexp('config list supybot', r'@plugins.*@replies.*@reply') def testListExcludes(self):