Stop sending RPL_CREATED

There's no point in sending this numeric if it doesn't contain any
useful info.
This commit is contained in:
Simon Ser 2021-10-12 19:28:44 +02:00
parent 8a0400c5cc
commit e55d0d7552

View File

@ -1111,11 +1111,6 @@ func (dc *downstreamConn) welcome() error {
Command: irc.RPL_YOURHOST, Command: irc.RPL_YOURHOST,
Params: []string{dc.nick, "Your host is " + dc.srv.Hostname}, Params: []string{dc.nick, "Your host is " + dc.srv.Hostname},
}) })
dc.SendMessage(&irc.Message{
Prefix: dc.srv.prefix(),
Command: irc.RPL_CREATED,
Params: []string{dc.nick, "Who cares when the server was created?"},
})
dc.SendMessage(&irc.Message{ dc.SendMessage(&irc.Message{
Prefix: dc.srv.prefix(), Prefix: dc.srv.prefix(),
Command: irc.RPL_MYINFO, Command: irc.RPL_MYINFO,