mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-06-13 02:07:22 +02:00
Ensure channel-specific reply.whenNotAddressed works.
Signed-off-by: James Vega <jamessan@users.sourceforge.net> (cherry picked from commit 166f32dcb02eab58659882fb003502c1e990797a) Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
This commit is contained in:
parent
4ea3761b4b
commit
808cb2c9f4
@ -126,7 +126,7 @@ def _addressed(nick, msg, prefixChars=None, nicks=None,
|
|||||||
# There should be some separator between the nick and the
|
# There should be some separator between the nick and the
|
||||||
# previous alphanumeric character.
|
# previous alphanumeric character.
|
||||||
return possiblePayload
|
return possiblePayload
|
||||||
if conf.supybot.reply.whenNotAddressed():
|
if get(conf.supybot.reply.whenNotAddressed):
|
||||||
return payload
|
return payload
|
||||||
else:
|
else:
|
||||||
return ''
|
return ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user