From 6d0af710ffe25e52b8f052d6ec13a43d9b713a11 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Wed, 1 Aug 2018 12:14:31 +0000 Subject: [PATCH] Only do ipsilon bot in prod Signed-off-by: Patrick Uiterwijk --- roles/fedmsg/irc/templates/ircbot.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/roles/fedmsg/irc/templates/ircbot.py b/roles/fedmsg/irc/templates/ircbot.py index 3cdd8328ce..a89c80637b 100644 --- a/roles/fedmsg/irc/templates/ircbot.py +++ b/roles/fedmsg/irc/templates/ircbot.py @@ -287,17 +287,14 @@ config = dict( ), # And #ipsilon + {% if env == "production" %} dict( network='chat.freenode.net', port=6667, make_pretty=True, make_terse=True, - {% if env == 'staging' %} - nickname='fm-stg-ipsilon', - {% else %} nickname='fm-ipsilon', - {% endif %} channel='#ipsilon', # If the word ipsilon appears in any message, forward it. filters=dict( @@ -307,6 +304,7 @@ config = dict( body=['^((?!ipsilonpagure).)*$'], ), ), + {% endif %} # For pagure dict(