summaryrefslogtreecommitdiffstats
path: root/roles/fedmsg/irc
diff options
context:
space:
mode:
authorParag A Nemade <pnemade@fedoraproject.org>2016-10-14 17:34:22 +0530
committerKevin Fenzi <kevin@scrye.com>2016-10-15 16:29:34 +0000
commit17751b8ff442a2d2da1c45ba8e485803c6266101 (patch)
treebf99eb5ee26853fd6fdb8489015d1092d9636c80 /roles/fedmsg/irc
parent6cfe5732632ab50a319033d6b105f3f98651b442 (diff)
downloadansible-17751b8ff442a2d2da1c45ba8e485803c6266101.tar.gz
ansible-17751b8ff442a2d2da1c45ba8e485803c6266101.tar.xz
ansible-17751b8ff442a2d2da1c45ba8e485803c6266101.zip
Another improvement to g11n bot
Signed-off-by: Parag A Nemade <pnemade@fedoraproject.org>
Diffstat (limited to 'roles/fedmsg/irc')
-rw-r--r--roles/fedmsg/irc/templates/ircbot.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/fedmsg/irc/templates/ircbot.py b/roles/fedmsg/irc/templates/ircbot.py
index 83f0fcec7..80e015878 100644
--- a/roles/fedmsg/irc/templates/ircbot.py
+++ b/roles/fedmsg/irc/templates/ircbot.py
@@ -253,8 +253,11 @@ config = dict(
nickname='fedmsg-g11n',
{% endif %}
channel='#fedora-g11n',
- # If the word i18n/g11n appears in any message, forward it.
+ # If the word i18n/g11n appears in any of below topic message, forward it.
filters=dict(
+ topic=[
+ '^((?!(trac|pagure|planet|mailman|meetbot\.meeting\.complete)).)*$',
+ ],
body=['^((?!(i18n|g11n)).)*$'],
),
),