mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Ensure channel-specific reply.whenNotAddressed works.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 166f32dcb0
)
This commit is contained in:
parent
0ff414b993
commit
e7ef97e529
@ -126,7 +126,7 @@ def _addressed(nick, msg, prefixChars=None, nicks=None,
|
||||
# There should be some separator between the nick and the
|
||||
# previous alphanumeric character.
|
||||
return possiblePayload
|
||||
if conf.supybot.reply.whenNotAddressed():
|
||||
if get(conf.supybot.reply.whenNotAddressed):
|
||||
return payload
|
||||
else:
|
||||
return ''
|
||||
|
Loading…
Reference in New Issue
Block a user