summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2016-05-21 16:03:19 +0200
committerWim <wim@42.be>2016-05-21 16:03:19 +0200
commitff5aeeb1e196c358858bc06a91f1c19a3e2a98f3 (patch)
tree10753fecd51971cfc2ed67c697e635c891f72ecb
parent33844fa60c5b432c4b6a4fb966be6e8f04627165 (diff)
downloadmatterbridge-msglm-ff5aeeb1e196c358858bc06a91f1c19a3e2a98f3.tar.gz
matterbridge-msglm-ff5aeeb1e196c358858bc06a91f1c19a3e2a98f3.tar.bz2
matterbridge-msglm-ff5aeeb1e196c358858bc06a91f1c19a3e2a98f3.zip
Add support for ignoring messages from specific users.
-rw-r--r--README.md6
-rw-r--r--matterbridge.conf.sample2
2 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 67e479a1..9074b8cf 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ Requires mattermost 1.2.0+
There is also [matterbridge-plus] (https://github.com/42wim/matterbridge-plus) which uses the mattermost API and needs a dedicated user (bot). But requires no incoming/outgoing webhook setup.
## binaries
-Binaries can be found [here] (https://github.com/42wim/matterbridge/releases/tag/v0.4)
+Binaries can be found [here] (https://github.com/42wim/matterbridge/releases/tag/v0.4.1)
## building
Go 1.6+ is required. Make sure you have [Go](https://golang.org/doc/install) properly installed, including setting up your [GOPATH] (https://golang.org/doc/code.html#GOPATH)
@@ -56,6 +56,8 @@ SkipTLSVerify=true
nick="matterbot"
channel="#matterbridge"
UseSlackCircumfix=false
+#Ignore the messages from these nicks. They will not be sent to mattermost
+IgnoreNicks="ircspammer1 ircspammer2"
[mattermost]
#url is your incoming webhook url (account settings - integrations - incoming webhooks)
@@ -80,6 +82,8 @@ NicksPerRow=4
NickServNick="nickserv"
#Password for nickserv
NickServPassword="secret"
+#Ignore the messages from these nicks. They will not be sent to irc
+IgnoreNicks="mmbot spammer2"
#multiple channel config
#token you can find in your outgoing webhook
diff --git a/matterbridge.conf.sample b/matterbridge.conf.sample
index c1397d11..bc989fd0 100644
--- a/matterbridge.conf.sample
+++ b/matterbridge.conf.sample
@@ -6,6 +6,7 @@ SkipTLSVerify=true
nick="matterbot"
channel="#matterbridge"
UseSlackCircumfix=false
+IgnoreNicks="ircspammer1 ircspammer2"
[mattermost]
url="http://yourdomain/hooks/yourhookkey"
@@ -21,6 +22,7 @@ NickFormatter=plain
NicksPerRow=4
#NickServNick="nickserv"
#NickServPassword="secret"
+IgnoreNicks="mmbot spammer2"
[general]
GiphyAPIKey=dc6zaTOxFJmzC