Просмотр исходного кода

send 'first seen' msgs to public channel if possible

Helge Jung 9 лет назад
Родитель
Сommit
d076af8f13
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      modules/ffpb.py

+ 2 - 0
modules/ffpb.py

@@ -559,6 +559,8 @@ def ffpb_updatealfred(bot):
                     '\'' + last + '\''
                 )
             action_target = bot.config.ffpb.msg_target
+            if not bot.config.ffpb.msg_target_public is None:
+                action_target = bot.config.ffpb.msg_target_public
             bot.msg(action_target, '\x01ACTION %s\x01' % action_msg)
 
 def get_alfred_data(bot, ensure_not_outdated=True):