From 371a7eb9e48c83498f9d49dd5ef62f3870ab1f6c Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 24 Mar 2018 14:24:44 +1300 Subject: [PATCH] use full syntax for joins/parts (fixes userlist in liteirc) --HG-- branch : nmdc-ircfrontend --- server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.go b/server.go index fe1fc52..bd19f7b 100644 --- a/server.go +++ b/server.go @@ -798,9 +798,9 @@ func (s *Server) reply(code replyCode, args ...string) { s.writeClient(fmt.Sprintf(":%s 005 %s NAMESX CHANTYPES=# :are supported by this server", s.name, s.clientNick())) case rplJoin: - s.writeClient(fmt.Sprintf(":%s JOIN %s", args[0], args[1])) + s.writeClient(fmt.Sprintf(":%s!%s@%s JOIN %s", args[0], args[0], args[0], args[1])) case rplPart: - s.writeClient(fmt.Sprintf(":%s PART %s %s", args[0], args[1], args[2])) + s.writeClient(fmt.Sprintf(":%s!%s@%s PART %s %s", args[0], args[0], args[0], args[1], args[2])) case rplTopic: s.writeClient(fmt.Sprintf(":%s 332 %s %s :%s", s.name, s.clientNick(), args[0], args[1])) case rplNoTopic: