From bf17fdba0fb632676ce005e5890dfc2869d93c09 Mon Sep 17 00:00:00 2001 From: "." <.@.> Date: Sat, 7 May 2016 18:58:51 +1200 Subject: [PATCH] advertise 'CHANTYPES=#' in the RPL_ISUPPORT --HG-- branch : nmdc-ircfrontend --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index b639d21..d50e897 100644 --- a/server.go +++ b/server.go @@ -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]))