mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-22 11:40:27 +00:00
Handle servers without MOTD (irc). Closes #692
This commit is contained in:
parent
8548b69e6e
commit
94812d8648
@ -84,6 +84,7 @@ func (b *Birc) Connect() error {
|
|||||||
|
|
||||||
i.Handlers.Add(girc.RPL_WELCOME, b.handleNewConnection)
|
i.Handlers.Add(girc.RPL_WELCOME, b.handleNewConnection)
|
||||||
i.Handlers.Add(girc.RPL_ENDOFMOTD, b.handleOtherAuth)
|
i.Handlers.Add(girc.RPL_ENDOFMOTD, b.handleOtherAuth)
|
||||||
|
i.Handlers.Add(girc.ERR_NOMOTD, b.handleOtherAuth)
|
||||||
i.Handlers.Add(girc.ALL_EVENTS, b.handleOther)
|
i.Handlers.Add(girc.ALL_EVENTS, b.handleOther)
|
||||||
b.i = i
|
b.i = i
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user