summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-01-24 21:58:27 +0100
committerWim <wim@42.be>2019-01-24 21:58:27 +0100
commit94812d86487ecd21a2aa4e52574297a61b615c71 (patch)
tree346838b2da22c3c7656627ac6427636e5a90a89a /bridge
parent8548b69e6ec3b36521c6881a5d2bcb133012b6d9 (diff)
downloadmatterbridge-msglm-94812d86487ecd21a2aa4e52574297a61b615c71.tar.gz
matterbridge-msglm-94812d86487ecd21a2aa4e52574297a61b615c71.tar.bz2
matterbridge-msglm-94812d86487ecd21a2aa4e52574297a61b615c71.zip
Handle servers without MOTD (irc). Closes #692
Diffstat (limited to 'bridge')
-rw-r--r--bridge/irc/irc.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go
index e134fdad..4e3d3ed4 100644
--- a/bridge/irc/irc.go
+++ b/bridge/irc/irc.go
@@ -84,6 +84,7 @@ func (b *Birc) Connect() error {
i.Handlers.Add(girc.RPL_WELCOME, b.handleNewConnection)
i.Handlers.Add(girc.RPL_ENDOFMOTD, b.handleOtherAuth)
+ i.Handlers.Add(girc.ERR_NOMOTD, b.handleOtherAuth)
i.Handlers.Add(girc.ALL_EVENTS, b.handleOther)
b.i = i