summaryrefslogtreecommitdiffstats
path: root/bridge/irc
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-05-08 21:14:38 +0200
committerWim <wim@42.be>2017-05-08 21:15:01 +0200
commitd300bb173535f23980245867a7df2fc1bd16328f (patch)
tree918043a6f016ef4a1a09bc0a0566644d976e2154 /bridge/irc
parent2e703472f175ec930a939b47cf87c11f6cb0d613 (diff)
downloadmatterbridge-msglm-d300bb173535f23980245867a7df2fc1bd16328f.tar.gz
matterbridge-msglm-d300bb173535f23980245867a7df2fc1bd16328f.tar.bz2
matterbridge-msglm-d300bb173535f23980245867a7df2fc1bd16328f.zip
Relay messages starting with ! (irc). Closes #164
Diffstat (limited to 'bridge/irc')
-rw-r--r--bridge/irc/irc.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go
index 8f72f0f7..a9a23529 100644
--- a/bridge/irc/irc.go
+++ b/bridge/irc/irc.go
@@ -109,7 +109,6 @@ func (b *Birc) Send(msg config.Message) error {
}
if strings.HasPrefix(msg.Text, "!") {
b.Command(&msg)
- return nil
}
for _, text := range strings.Split(msg.Text, "\n") {
if len(b.Local) < b.Config.MessageQueue {