From c389be4f373bd0a39550549398f726c3bd8f0b6e Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 27 May 2021 10:47:11 +0300 Subject: [PATCH] Config: note "config flush false" when option is not writeable via IRC --- plugins/Config/plugin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/Config/plugin.py b/plugins/Config/plugin.py index 59a2782d9..21383036a 100644 --- a/plugins/Config/plugin.py +++ b/plugins/Config/plugin.py @@ -107,8 +107,9 @@ def isReadOnly(name): def checkCanSetValue(irc, msg, group): if isReadOnly(group._name): irc.error(_("This configuration variable is not writeable " - "via IRC. To change it you have to: 1) use the 'flush' command 2) edit " - "the config file 3) use the 'config reload' command."), Raise=True) + "via IRC. To change it you have to: 1) use the 'flush' command " + "2) use the 'config flush false' command 3) edit the config " + "file 4) use the 'config reload' command."), Raise=True) capability = getCapability(irc, group._name) if not ircdb.checkCapability(msg.prefix, capability): irc.errorNoCapability(capability, Raise=True)