mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Reply's getConfig shouldn't be used on GlobalValues.
This commit is contained in:
parent
ca492afd38
commit
42f3e1340c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user