소스 검색

send 'first seen' msgs to public channel if possible

Helge Jung 9 년 전
부모
커밋
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):