mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Fix previous commit for config variables that are not channel-specific.
This commit is contained in:
parent
36568aa849
commit
de1c01f47b
@ -240,7 +240,8 @@ class Config(callbacks.Plugin):
|
|||||||
if s:
|
if s:
|
||||||
if hasattr(group, 'value') and not group._private:
|
if hasattr(group, 'value') and not group._private:
|
||||||
channel = msg.args[0]
|
channel = msg.args[0]
|
||||||
if irc.isChannel(channel):
|
if irc.isChannel(channel) and \
|
||||||
|
channel in group._children:
|
||||||
globvalue = str(group)
|
globvalue = str(group)
|
||||||
chanvalue = str(group.get(channel))
|
chanvalue = str(group.get(channel))
|
||||||
if chanvalue != globvalue:
|
if chanvalue != globvalue:
|
||||||
|
Loading…
Reference in New Issue
Block a user