mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 02:49:27 +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):
|
def _replyToRegister(self, irc, msg, command, reply):
|
||||||
if not conf.supybot.protocols.irc.experimentalExtensions:
|
if not conf.supybot.protocols.irc.experimentalExtensions():
|
||||||
self.log.warning(
|
self.log.warning(
|
||||||
"Got unexpected '%s' on %s, this should not "
|
"Got unexpected '%s' on %s, this should not "
|
||||||
"happen unless supybot.protocols.irc.experimentalExtensions "
|
"happen unless supybot.protocols.irc.experimentalExtensions "
|
||||||
|
Loading…
Reference in New Issue
Block a user