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>
This commit is contained in:
parent
3090cffe2c
commit
166f32dcb0
@ -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