From 975a9101f400e9f5ed2fc275cd302a479a6d62ff Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 4 Mar 2021 21:30:07 +0100 Subject: [PATCH] Services: Fix conditional on supybot.protocols.irc.experimentalExtensions It was always true-ish because we tested the variable itself instead of its value. --- plugins/Services/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Services/plugin.py b/plugins/Services/plugin.py index b0b99ae18..4004659d8 100644 --- a/plugins/Services/plugin.py +++ b/plugins/Services/plugin.py @@ -659,7 +659,7 @@ class Services(callbacks.Plugin): ]) def _replyToRegister(self, irc, msg, command, reply): - if not conf.supybot.protocols.irc.experimentalExtensions: + if not conf.supybot.protocols.irc.experimentalExtensions(): self.log.warning( "Got unexpected '%s' on %s, this should not " "happen unless supybot.protocols.irc.experimentalExtensions "