Reply's getConfig shouldn't be used on GlobalValues.

This commit is contained in:
Jeremy Fincher 2004-08-27 15:13:48 +00:00
parent ca492afd38
commit 42f3e1340c

View File

@ -162,7 +162,7 @@ def reply(msg, s, prefixName=True, private=None,
else: else:
target = to target = to
# XXX: User value for reply.withNoticeWhenPrivate. # XXX: User value for reply.withNoticeWhenPrivate.
if getConfig(conf.supybot.reply.withNoticeWhenPrivate): if conf.supybot.reply.withNoticeWhenPrivate(): # global, no getConfig.
notice = True notice = True
if to is None: if to is None:
to = msg.nick to = msg.nick