From 94812d86487ecd21a2aa4e52574297a61b615c71 Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 24 Jan 2019 21:58:27 +0100 Subject: Handle servers without MOTD (irc). Closes #692 --- bridge/irc/irc.go | 1 + 1 file changed, 1 insertion(+) (limited to 'bridge') 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 -- cgit v1.2.3