Config: Fix crash happening since the previous commit

This commit is contained in:
Valentin Lorentz 2022-01-11 20:38:14 +01:00
parent dcca9f9637
commit 28b28fe3cf
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ class Config(callbacks.Plugin):
netgroup = group.get(':' + network.network)
changroup = netgroup.get(channel)
checkCanSetValue(irc, msg, changroup)
changroup._setValue(netgroup(), inherited=True)
changroup._setValue(netgroup.value, inherited=True)
# reset group.#channel
changroup = group.get(channel)