mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-05 18:49:23 +01:00
Services: Fix conditional on supybot.protocols.irc.experimentalExtensions
It was always true-ish because we tested the variable itself instead of its value.
This commit is contained in:
parent
f8c5221efd
commit
975a9101f4
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user