advertise 'CHANTYPES=#' in the RPL_ISUPPORT

--HG--
branch : nmdc-ircfrontend
This commit is contained in:
. 2016-05-07 18:58:51 +12:00
parent e91022b7fa
commit bf17fdba0f

View File

@ -522,7 +522,7 @@ func (s *Server) reply(code replyCode, args ...string) {
switch code {
case rplWelcome:
s.writeClient(fmt.Sprintf(":%s 001 %s :Welcome to %s", s.name, s.upstreamLauncher.Self.Nick, s.name))
s.writeClient(fmt.Sprintf(":%s 005 %s NAMESX :are supported by this server", s.name, s.upstreamLauncher.Self.Nick))
s.writeClient(fmt.Sprintf(":%s 005 %s NAMESX CHANTYPES=# :are supported by this server", s.name, s.upstreamLauncher.Self.Nick))
case rplJoin:
s.writeClient(fmt.Sprintf(":%s JOIN %s", args[0], args[1]))