Ensure channel-specific reply.whenNotAddressed works.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
James Vega 2010-07-26 19:48:37 -04:00
parent 3090cffe2c
commit 166f32dcb0

View File

@ -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 ''