diff options
author | Wim <wim@42.be> | 2019-01-24 21:58:27 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2019-01-24 21:58:27 +0100 |
commit | 94812d86487ecd21a2aa4e52574297a61b615c71 (patch) | |
tree | 346838b2da22c3c7656627ac6427636e5a90a89a /bridge/irc | |
parent | 8548b69e6ec3b36521c6881a5d2bcb133012b6d9 (diff) | |
download | matterbridge-msglm-94812d86487ecd21a2aa4e52574297a61b615c71.tar.gz matterbridge-msglm-94812d86487ecd21a2aa4e52574297a61b615c71.tar.bz2 matterbridge-msglm-94812d86487ecd21a2aa4e52574297a61b615c71.zip |
Handle servers without MOTD (irc). Closes #692
Diffstat (limited to 'bridge/irc')
-rw-r--r-- | bridge/irc/irc.go | 1 |
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 |