mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-14 07:59:31 +01:00
ensure STS-only 005 is a trailing
This commit is contained in:
parent
f73b389ceb
commit
dca3965fd3
@ -291,7 +291,7 @@ func (server *Server) playSTSBurst(session *Session) {
|
|||||||
session.Send(nil, server.name, RPL_YOURHOST, nick, fmt.Sprintf("Your host is %[1]s, running version %[2]s", server.name, "oragono"))
|
session.Send(nil, server.name, RPL_YOURHOST, nick, fmt.Sprintf("Your host is %[1]s, running version %[2]s", server.name, "oragono"))
|
||||||
session.Send(nil, server.name, RPL_CREATED, nick, fmt.Sprintf("This server was created %s", time.Time{}.Format(time.RFC1123)))
|
session.Send(nil, server.name, RPL_CREATED, nick, fmt.Sprintf("This server was created %s", time.Time{}.Format(time.RFC1123)))
|
||||||
session.Send(nil, server.name, RPL_MYINFO, nick, server.name, "oragono", "o", "o", "o")
|
session.Send(nil, server.name, RPL_MYINFO, nick, server.name, "oragono", "o", "o", "o")
|
||||||
session.Send(nil, server.name, RPL_ISUPPORT, nick, "CASEMAPPING=ascii")
|
session.Send(nil, server.name, RPL_ISUPPORT, nick, "CASEMAPPING=ascii MODES")
|
||||||
session.Send(nil, server.name, ERR_NOMOTD, nick, "MOTD is unavailable")
|
session.Send(nil, server.name, ERR_NOMOTD, nick, "MOTD is unavailable")
|
||||||
for _, line := range server.Config().Server.STS.bannerLines {
|
for _, line := range server.Config().Server.STS.bannerLines {
|
||||||
session.Send(nil, server.name, "NOTICE", nick, line)
|
session.Send(nil, server.name, "NOTICE", nick, line)
|
||||||
|
Loading…
Reference in New Issue
Block a user