diff --git a/src/callbacks.py b/src/callbacks.py index 5c4ec44ff..fc4d06905 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -1154,8 +1154,11 @@ class Privmsg(irclib.IrcCallback): names = registry.split(name) for name in names: group = group.get(name) - if channel is not None and ircutils.isChannel(channel): - group = group.get(channel) + if channel is not None: + if ircutils.isChannel(channel): + group = group.get(channel) + else: + self.log.debug('registryValue got channel=%r', channel) if value: return group() else: