Ensure channel-specific reply.whenNotAddressed works.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 166f32dcb0)

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
This commit is contained in:
James Vega 2010-07-26 19:48:37 -04:00 committed by Daniel Folkinshteyn
parent 4ea3761b4b
commit 808cb2c9f4

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