mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +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:
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user