Make supybot.reply.oneToOne not always true on channels.

This commit is contained in:
Valentin Lorentz 2014-05-30 17:03:12 +00:00
parent 8787239f0a
commit 5881c97120

View File

@ -473,7 +473,7 @@ class RichReplyMethods(object):
joiner = joiner.join
if oneToOne is None: # Can be True, False, or None
if ircutils.isChannel(to):
oneToOne = conf.get(conf.supybot.reply.oneToOne, to)
oneToOne = conf.get(conf.supybot.reply.oneToOne, to)()
else:
oneToOne = conf.supybot.reply.oneToOne()
if oneToOne: