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
1 changed files with 1 additions and 1 deletions

View File

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