[important] Fix recent regression w/maybe_get_subscribers

(imported from commit 8069f729dcb2bfec1c1df8f50a88fe49545a9a87)
This commit is contained in:
Steve Howell 2013-09-19 09:37:39 -04:00
parent c6a9297f1a
commit de0d50d31a
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ def check_message(sender, client, message_type_name, message_to,
if sender.is_bot:
if stream:
num_subscribers = len(maybe_get_subscribers(stream))
num_subscribers = len(maybe_get_subscriber_emails(stream))
if stream is None or num_subscribers == 0:
# Warn a bot's owner if they are sending a message to a stream