Send ERR_NOMOTD on registration

This commit is contained in:
Simon Ser 2020-02-06 12:08:54 +01:00
parent 5547eb7290
commit f8a03a25df
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -122,6 +122,14 @@ func (c *conn) register() error {
return err
}
err = c.WriteMessage(&irc.Message{
Command: irc.ERR_NOMOTD,
Params: []string{c.nick, "No MOTD"},
})
if err != nil {
return err
}
return nil
}